Skip to content

Commit ac79628

Browse files
committed
Remove redundant declarations of TestCase.urls.
Test settings already have this value.
1 parent 0a0610e commit ac79628

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

tests/panels/test_profiling.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
DEBUG_TOOLBAR_PANELS=['debug_toolbar.panels.profiling.ProfilingDebugPanel'])
1111
class ProfilingPanelIntegrationTestCase(TestCase):
1212

13-
urls = 'tests.urls'
14-
1513
def test_view_executed_once(self):
1614

1715
self.assertEqual(User.objects.count(), 0)

tests/test_integration.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
@override_settings(DEBUG=True)
2020
class DebugToolbarTestCase(BaseTestCase):
2121

22-
urls = 'tests.urls'
23-
2422
def test_show_toolbar(self):
2523
self.assertTrue(show_toolbar(self.request))
2624

@@ -77,8 +75,6 @@ def test_middleware_response_only(self):
7775
@override_settings(DEBUG=True)
7876
class DebugToolbarIntegrationTestCase(TestCase):
7977

80-
urls = 'tests.urls'
81-
8278
def test_middleware(self):
8379
response = self.client.get('/execute_sql/')
8480
self.assertEqual(response.status_code, 200)

0 commit comments

Comments
 (0)