aboutsummaryrefslogtreecommitdiffstats
path: root/tests/panels/test_profiling.py
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-24 17:30:49 +0100
committerAymeric Augustin2013-11-24 17:30:49 +0100
commit57a6e261c2768503e1401f99cefd4470c8dc5e8f (patch)
treead0f1553d0155988701b1d63f0f4438ae127bcab /tests/panels/test_profiling.py
parent3d72c1fa927f129b2a79ea3496cce3262516705b (diff)
downloaddjango-debug-toolbar-57a6e261c2768503e1401f99cefd4470c8dc5e8f.tar.bz2
Update all panels to follow the public API.
Diffstat (limited to 'tests/panels/test_profiling.py')
-rw-r--r--tests/panels/test_profiling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/panels/test_profiling.py b/tests/panels/test_profiling.py
index ccc8f2f..7e61c62 100644
--- a/tests/panels/test_profiling.py
+++ b/tests/panels/test_profiling.py
@@ -28,7 +28,7 @@ class ProfilingPanelTestCase(BaseTestCase):
self.panel.process_view(self.request, regular_view, ('profiling',), {})
self.panel.process_response(self.request, self.response)
self.assertIn('func_list', self.panel.get_stats())
- self.assertIn('regular_view', self.panel.content())
+ self.assertIn('regular_view', self.panel.content)
# These two tests fail randomly for a reason I don't understand.