Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Used TransactionTestCase in ModWsgiHandlerTestCase

Now the data created in setUp() is not discarded when the connection
is closed in the handler's methods.
  • Loading branch information...
1 parent 2f6e00a commit 82a74dce243935688f4f9cd447521d4d141c563b @claudep claudep committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/auth/tests/
4 django/contrib/auth/tests/
@@ -2,10 +2,10 @@
from django.contrib.auth.handlers.modwsgi import check_password, groups_for_user
from django.contrib.auth.models import User, Group
-from django.test import TestCase
+from django.test import TransactionTestCase
-class ModWsgiHandlerTestCase(TestCase):
+class ModWsgiHandlerTestCase(TransactionTestCase):
Tests for the mod_wsgi authentication handler

0 comments on commit 82a74dc

Please sign in to comment.
Something went wrong with that request. Please try again.