summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoren Hansen <soren@linux2go.dk>2011-02-16 10:02:17 +0100
committerSoren Hansen <soren@linux2go.dk>2011-02-16 10:02:17 +0100
commita00b8b78ce16bbfe4368f0e5e383b7b8f49ba9ef (patch)
tree2c8c18bc773070fe227317532672f55c2b510d23
parent52a443dfb53e8fa2226e7ae8b8dac0fa6e32a69d (diff)
assertIsNone is a 2.7-ism.
-rw-r--r--nova/tests/test_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_log.py b/nova/tests/test_log.py
index 7a5c52935..c2c9d7772 100644
--- a/nova/tests/test_log.py
+++ b/nova/tests/test_log.py
@@ -58,7 +58,7 @@ class LogHandlerTestCase(test.TestCase):
'/some/path/foo-bar.log')
def test_log_path_none(self):
- self.assertIsNone(log.get_log_file_path(binary='foo-bar'))
+ self.assertTrue(log.get_log_file_path(binary='foo-bar') is None)
def test_log_path_logfile_overrides_logdir(self):
self.flags(logdir='/some/other/path',