diff options
| author | David Cramer | 2011-04-16 13:01:33 -0700 |
|---|---|---|
| committer | David Cramer | 2011-04-16 13:01:33 -0700 |
| commit | 23709c7c12dff5608881791c447f72aba130f705 (patch) | |
| tree | 1abdec23ecaa0d927a2dae2367a9096ed9dc809b /debug_toolbar | |
| parent | a00f3c050ee2a1d37d14efa6bca402df6c466051 (diff) | |
| download | django-debug-toolbar-23709c7c12dff5608881791c447f72aba130f705.tar.bz2 | |
Ensure tests are compatible with unittest (Django <1.3)
Diffstat (limited to 'debug_toolbar')
| -rw-r--r-- | debug_toolbar/tests/tests.py | 2 |
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) |
