Skip to content

Commit

Permalink
Used TransactionTestCase in ModWsgiHandlerTestCase
Browse files Browse the repository at this point in the history
Now the data created in setUp() is not discarded when the connection
is closed in the handler's methods.
  • Loading branch information
claudep committed Sep 29, 2012
1 parent 2f6e00a commit 82a74dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/contrib/auth/tests/handlers.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@


from django.contrib.auth.handlers.modwsgi import check_password, groups_for_user from django.contrib.auth.handlers.modwsgi import check_password, groups_for_user
from django.contrib.auth.models import User, Group 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 Tests for the mod_wsgi authentication handler
""" """
Expand Down

0 comments on commit 82a74dc

Please sign in to comment.