diff options
author | Simon Charette <charette.s@gmail.com> | 2015-04-17 17:38:20 -0400 |
---|---|---|
committer | Simon Charette <charette.s@gmail.com> | 2015-05-20 13:46:13 -0400 |
commit | be67400b477c1b0e7e81766f41bbceed0de74bdc (patch) | |
tree | fd8e6d087082754df9159a5549bfa80e2a8c57d9 /tests/migrations/test_state.py | |
parent | e2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff) | |
download | django-be67400b477c1b0e7e81766f41bbceed0de74bdc.tar.gz |
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/migrations/test_state.py')
-rw-r--r-- | tests/migrations/test_state.py | 6 |
1 files changed, 3 insertions, 3 deletions
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,)) |