diff options
| author | Simon Charette <charette.s@gmail.com> | 2017-01-11 23:13:01 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2017-01-13 08:50:03 -0500 |
| commit | 91023d79ec70df9289271e63a67675ee51e7dea8 (patch) | |
| tree | 752010f795e58624c28e9faed065938b11d814cb /tests/swappable_models | |
| parent | dc1193085da0c9a4d97f17e30f21695e53573472 (diff) | |
Removed available_apps on TestCase subclasses.
TestCase subclasses are wrapped in a transaction that prevents any data from
being persisted between test runs andi thus don't require limiting the tables
to be flushed to a subset of available apps like TransactionTestCase subclasses
do.
Diffstat (limited to 'tests/swappable_models')
| -rw-r--r-- | tests/swappable_models/tests.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/swappable_models/tests.py b/tests/swappable_models/tests.py index a9a7751888..548c7b3286 100644 --- a/tests/swappable_models/tests.py +++ b/tests/swappable_models/tests.py @@ -11,12 +11,6 @@ from django.utils.six import StringIO class SwappableModelTests(TestCase): - available_apps = [ - 'swappable_models', - 'django.contrib.auth', - 'django.contrib.contenttypes', - ] - @override_settings(TEST_ARTICLE_MODEL='swappable_models.AlternateArticle') def test_generated_data(self): "Permissions and content types are not created for a swapped model" |
