Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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...
commit 82a74dce243935688f4f9cd447521d4d141c563b 1 parent 2f6e00a
Claude Paroz claudep authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/auth/tests/handlers.py
4 django/contrib/auth/tests/handlers.py
View
@@ -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
"""
Please sign in to comment.
Something went wrong with that request. Please try again.