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/basic | |
| parent | e2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff) | |
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/basic')
| -rw-r--r-- | tests/basic/tests.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/basic/tests.py b/tests/basic/tests.py index 0fd673fca6..a37aa77613 100644 --- a/tests/basic/tests.py +++ b/tests/basic/tests.py @@ -11,7 +11,8 @@ from django.db.models.fields.related import ForeignObjectRel from django.db.models.manager import BaseManager from django.db.models.query import EmptyQuerySet, QuerySet from django.test import ( - TestCase, TransactionTestCase, skipIfDBFeature, skipUnlessDBFeature, + SimpleTestCase, TestCase, TransactionTestCase, skipIfDBFeature, + skipUnlessDBFeature, ) from django.utils import six from django.utils.translation import ugettext_lazy @@ -594,7 +595,7 @@ class ConcurrentSaveTests(TransactionTestCase): self.assertEqual(Article.objects.get(pk=a.pk).headline, 'foo') -class ManagerTest(TestCase): +class ManagerTest(SimpleTestCase): QUERYSET_PROXY_METHODS = [ 'none', 'count', @@ -772,7 +773,7 @@ class ModelRefreshTests(TestCase): a.refresh_from_db(fields=[]) -class TestRelatedObjectDeprecation(TestCase): +class TestRelatedObjectDeprecation(SimpleTestCase): def test_field_related_deprecation(self): field = SelfRef._meta.get_field('selfref') with warnings.catch_warnings(record=True) as warns: |
