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/generic_views/test_list.py | |
| parent | d2f4553d705951ca8043d687f9493c559f494a0c (diff) | |
Fixed #21977 -- Deprecated SimpleTestCase.urls
Diffstat (limited to 'tests/generic_views/test_list.py')
| -rw-r--r-- | tests/generic_views/test_list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic_views/test_list.py b/tests/generic_views/test_list.py index a6a5c76ff8..8c5c023e4c 100644 --- a/tests/generic_views/test_list.py +++ b/tests/generic_views/test_list.py @@ -8,9 +8,9 @@ from django.utils.encoding import force_str from .models import Author, Artist +@override_settings(ROOT_URLCONF='generic_views.urls') class ListViewTests(TestCase): fixtures = ['generic-views-test-data.json'] - urls = 'generic_views.urls' def test_items(self): res = self.client.get('/list/dict/') |
