diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/modeltests/get_or_create/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modeltests/get_or_create/tests.py b/tests/modeltests/get_or_create/tests.py index 1999b20c76..3323c88a82 100644 --- a/tests/modeltests/get_or_create/tests.py +++ b/tests/modeltests/get_or_create/tests.py @@ -1,12 +1,12 @@ from datetime import date from django.db import IntegrityError -from django.test import TransactionTestCase +from django.test import TestCase from models import Person, ManualPrimaryKeyTest -class GetOrCreateTests(TransactionTestCase): +class GetOrCreateTests(TestCase): def test_get_or_create(self): p = Person.objects.create( first_name='John', last_name='Lennon', birthday=date(1940, 10, 9) |
