diff options
| author | Anubhav Joshi <anubhav9042@gmail.com> | 2014-04-05 11:34:46 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-06 17:33:43 -0400 |
| commit | cd914e31c9a889f18c50c15b4f6ee4959624001f (patch) | |
| tree | 291036036473baaf6de621f66a6198ed4bc12451 /tests/contenttypes_tests/tests.py | |
| parent | d2f4553d705951ca8043d687f9493c559f494a0c (diff) | |
Fixed #21977 -- Deprecated SimpleTestCase.urls
Diffstat (limited to 'tests/contenttypes_tests/tests.py')
| -rw-r--r-- | tests/contenttypes_tests/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/contenttypes_tests/tests.py b/tests/contenttypes_tests/tests.py index 085ad2ec89..0f260a0b9b 100644 --- a/tests/contenttypes_tests/tests.py +++ b/tests/contenttypes_tests/tests.py @@ -15,9 +15,9 @@ from django.utils.encoding import force_str from .models import Author, Article, SchemeIncludedURL +@override_settings(ROOT_URLCONF='contenttypes_tests.urls') class ContentTypesViewsTests(TestCase): fixtures = ['testdata.json'] - urls = 'contenttypes_tests.urls' def test_shortcut_with_absolute_url(self): "Can view a shortcut for an Author object that has a get_absolute_url method" |
