#10853: Django unit test fails when using the dummy cache backend. -------------------------------+-------------------------------------------- Reporter: stavros | Owner: nobody Status: new | Milestone: Component: Testing framework | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | -------------------------------+-------------------------------------------- When using the dummy cache backend, the test that tests the cache fails (understandably), but it's annoying to have a test fail when this is the indended behaviour. Shouldn't this check for the dummy backend and not run the test (or expect the test to fail) if so?
{{{ ====================================================================== FAIL: Doctest: django.contrib.sessions.tests ---------------------------------------------------------------------- Traceback (most recent call last): File "/Library/Python/2.5/site-packages/django/test/_doctest.py", line 2180, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for django.contrib.sessions.tests File "/Library/Python/2.5/site- packages/django/contrib/sessions/tests.py", line 0, in tests ---------------------------------------------------------------------- File "/Library/Python/2.5/site-packages/django/contrib/sessions/tests.py", line 140, in django.contrib.sessions.tests Failed example: cache_session.exists(cache_session.session_key) Expected: True Got: False }}} -- Ticket URL: <http://code.djangoproject.com/ticket/10853> Django <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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---