diff options
| author | Aymeric Augustin | 2013-11-16 20:31:29 +0100 |
|---|---|---|
| committer | Aymeric Augustin | 2013-11-16 20:31:29 +0100 |
| commit | ac79628d31040a5500b4d10534ee09174523b763 (patch) | |
| tree | dd080854ccfff9a4acbf87dfc29e5d3a8a740dfc /tests | |
| parent | 0a0610e8af4331a5748299e525385868ce440ef5 (diff) | |
| download | django-debug-toolbar-ac79628d31040a5500b4d10534ee09174523b763.tar.bz2 | |
Remove redundant declarations of TestCase.urls.
Test settings already have this value.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/panels/test_profiling.py | 2 | ||||
| -rw-r--r-- | tests/test_integration.py | 4 |
2 files changed, 0 insertions, 6 deletions
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) |
