From ac79628d31040a5500b4d10534ee09174523b763 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 16 Nov 2013 20:31:29 +0100 Subject: Remove redundant declarations of TestCase.urls. Test settings already have this value. --- tests/panels/test_profiling.py | 2 -- tests/test_integration.py | 4 ---- 2 files changed, 6 deletions(-) (limited to 'tests') diff --git a/tests/panels/test_profiling.py b/tests/panels/test_profiling.py index 6a7823e..fc76a39 100644 --- a/tests/panels/test_profiling.py +++ b/tests/panels/test_profiling.py @@ -10,8 +10,6 @@ from django.test.utils import override_settings DEBUG_TOOLBAR_PANELS=['debug_toolbar.panels.profiling.ProfilingDebugPanel']) class ProfilingPanelIntegrationTestCase(TestCase): - urls = 'tests.urls' - def test_view_executed_once(self): self.assertEqual(User.objects.count(), 0) diff --git a/tests/test_integration.py b/tests/test_integration.py index 1885b35..19cb77a 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -19,8 +19,6 @@ rf = RequestFactory() @override_settings(DEBUG=True) class DebugToolbarTestCase(BaseTestCase): - urls = 'tests.urls' - def test_show_toolbar(self): self.assertTrue(show_toolbar(self.request)) @@ -77,8 +75,6 @@ class DebugToolbarTestCase(BaseTestCase): @override_settings(DEBUG=True) class DebugToolbarIntegrationTestCase(TestCase): - urls = 'tests.urls' - def test_middleware(self): response = self.client.get('/execute_sql/') self.assertEqual(response.status_code, 200) -- cgit v1.2.3