aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_integration.py
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-24 12:57:51 +0100
committerAymeric Augustin2013-11-24 12:57:51 +0100
commitedd9d828bbeebc867710d5e078c1b0f8e80dc5b6 (patch)
tree32f1962680e39ab573b2e6fa208fd83e4b1a1f94 /tests/test_integration.py
parent6b0d32f7066cac5b6cb92e383eb486a3aa666d03 (diff)
downloaddjango-debug-toolbar-edd9d828bbeebc867710d5e078c1b0f8e80dc5b6.tar.bz2
Removed unneeded Panel.slug attribute.
Diffstat (limited to 'tests/test_integration.py')
-rw-r--r--tests/test_integration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_integration.py b/tests/test_integration.py
index f3631e4..56a2d9c 100644
--- a/tests/test_integration.py
+++ b/tests/test_integration.py
@@ -45,7 +45,7 @@ class DebugToolbarTestCase(BaseTestCase):
panel = self.toolbar.get_panel_by_id('RequestPanel')
panel.process_request(self.request)
panel.process_response(self.request, self.response)
- return self.toolbar.stats['request']
+ return panel.get_stats()
def test_url_resolving_positional(self):
stats = self._resolve_stats('/resolving1/a/b/')