#5507: File bases session backend failing on Win32
-----------------------+----------------------------------------------------
Reporter:  dougn       |       Owner:  nobody                
  Status:  new         |   Component:  Unit test system      
 Version:  SVN         |    Keywords:  sessions, file backend
   Stage:  Unreviewed  |   Has_patch:  0                     
-----------------------+----------------------------------------------------
 The new file based Session backend (ticket #2066, changeset [6333]) fails
 on Win23 due to the SESSION_FILE_PATH defaulting to '/tmp/'
 
 django/trunk/django/conf/global_settings.py should get the default using
 the environ for the temporary storage on Win32/OSX
 
 
 Adding the following to your local test settings file will work as a
 temporary workaround:
 {{{
 SESSION_FILE_PATH = os.environ['TMP']
 }}}
 
 Test Failure:
 {{{
 ======================================================================
 FAIL: Doctest: django.contrib.sessions.tests
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\django-sprint\trunk\django\test\_doctest.py", line 2169, in
 runTest
     raise self.failureException(self.format_failure(new.getvalue()))
 AssertionError: Failed doctest test for django.contrib.sessions.tests
   File "C:\django-sprint\trunk\django\contrib\sessions\tests.py", line 0,
 in tests
 
 ----------------------------------------------------------------------
 File "C:\django-sprint\trunk\django\contrib\sessions\tests.py", line 35,
 in django.contrib.sessions.tests
 Failed example:
     file_session.exists(file_session.session_key)
 Expected:
     True
 Got:
     False
 
 
 ----------------------------------------------------------------------
 Ran 165 tests in 291.149s
 
 FAILED (failures=1)
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5507>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to