summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unittests/test_handler/test_handler_debug.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_debug.py b/tests/unittests/test_handler/test_handler_debug.py
index bd9e29d8..8891ca04 100644
--- a/tests/unittests/test_handler/test_handler_debug.py
+++ b/tests/unittests/test_handler/test_handler_debug.py
@@ -59,7 +59,7 @@ class TestDebug(t_help.FilesystemMockingTestCase):
cc_debug.handle('cc_debug', cfg, cc, LOG, [])
contents = util.load_file('/var/log/cloud-init-debug.log')
# Some basic sanity tests...
- self.assertGreater(len(contents), 0)
+ self.assertNotEqual(0, len(contents))
for k in cfg.keys():
self.assertIn(k, contents)