From be67400b477c1b0e7e81766f41bbceed0de74bdc Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 17 Apr 2015 17:38:20 -0400 Subject: Refs #24652 -- Used SimpleTestCase where appropriate. --- tests/migrations/test_state.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/migrations/test_state.py') diff --git a/tests/migrations/test_state.py b/tests/migrations/test_state.py index 3c6abe3a91..2ad8025122 100644 --- a/tests/migrations/test_state.py +++ b/tests/migrations/test_state.py @@ -7,7 +7,7 @@ from django.db.migrations.operations import ( from django.db.migrations.state import ( ModelState, ProjectState, get_related_models_recursive, ) -from django.test import SimpleTestCase, TestCase, override_settings +from django.test import SimpleTestCase, override_settings from django.utils import six from .models import ( @@ -16,7 +16,7 @@ from .models import ( ) -class StateTests(TestCase): +class StateTests(SimpleTestCase): """ Tests state construction, rendering and modification by operations. """ @@ -750,7 +750,7 @@ class StateTests(TestCase): self.assertEqual(list(choices_field.choices), choices) -class ModelStateTests(TestCase): +class ModelStateTests(SimpleTestCase): def test_custom_model_base(self): state = ModelState.from_model(ModelWithCustomBase) self.assertEqual(state.bases, (models.Model,)) -- cgit v1.2.1