aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cramer2011-04-16 13:01:33 -0700
committerDavid Cramer2011-04-16 13:01:33 -0700
commit23709c7c12dff5608881791c447f72aba130f705 (patch)
tree1abdec23ecaa0d927a2dae2367a9096ed9dc809b
parenta00f3c050ee2a1d37d14efa6bca402df6c466051 (diff)
downloaddjango-debug-toolbar-23709c7c12dff5608881791c447f72aba130f705.tar.bz2
Ensure tests are compatible with unittest (Django <1.3)
-rw-r--r--debug_toolbar/tests/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/tests/tests.py b/debug_toolbar/tests/tests.py
index 476802c..1cff37f 100644
--- a/debug_toolbar/tests/tests.py
+++ b/debug_toolbar/tests/tests.py
@@ -67,7 +67,7 @@ class TrackingTestCase(BaseTestCase):
# best we can do
self.assertEquals(foo['sender'].__name__, 'module_func')
self.assertTrue('start' in foo, foo)
- self.assertGreater(foo['start'], 0)
+ self.assertTrue(foo['start'] > 0)
self.assertTrue('stop' not in foo, foo)
self.assertTrue('args' in foo, foo)
self.assertTrue(len(foo['args']), 1)