Fixed an unnecessary use of TransactionTestCase
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
207e3ed9d5
commit
cb2c669d14
|
@ -3,7 +3,7 @@ from django.contrib.admin.options import IncorrectLookupParameters
|
||||||
from django.contrib.admin.views.main import ChangeList, SEARCH_VAR
|
from django.contrib.admin.views.main import ChangeList, SEARCH_VAR
|
||||||
from django.core.paginator import Paginator
|
from django.core.paginator import Paginator
|
||||||
from django.template import Context, Template
|
from django.template import Context, Template
|
||||||
from django.test import TransactionTestCase
|
from django.test import TestCase
|
||||||
from django.test.client import RequestFactory
|
from django.test.client import RequestFactory
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ from models import (Child, Parent, Genre, Band, Musician, Group, Quartet,
|
||||||
Membership, ChordsMusician, ChordsBand, Invitation)
|
Membership, ChordsMusician, ChordsBand, Invitation)
|
||||||
|
|
||||||
|
|
||||||
class ChangeListTests(TransactionTestCase):
|
class ChangeListTests(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.factory = RequestFactory()
|
self.factory = RequestFactory()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue