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/generic_relations/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/generic_relations') diff --git a/tests/generic_relations/tests.py b/tests/generic_relations/tests.py index 05ce20f078..47545bdef9 100644 --- a/tests/generic_relations/tests.py +++ b/tests/generic_relations/tests.py @@ -5,7 +5,7 @@ from django.contrib.contenttypes.forms import generic_inlineformset_factory from django.contrib.contenttypes.models import ContentType from django.core.exceptions import FieldError from django.db.models import Q -from django.test import TestCase +from django.test import SimpleTestCase, TestCase from django.utils import six from .models import ( @@ -618,7 +618,7 @@ class ProxyRelatedModelTest(TestCase): self.assertEqual(base, newrel.bases.get()) -class TestInitWithNoneArgument(TestCase): +class TestInitWithNoneArgument(SimpleTestCase): def test_none_not_allowed(self): # TaggedItem requires a content_type, initializing with None should # raise a ValueError. -- cgit v1.2.1