From 6358e4153cb470f3d7b68c84d41a2ee69fa4c77b Mon Sep 17 00:00:00 2001 From: nellysmitt Date: Sun, 19 Oct 2014 16:26:20 +0000 Subject: [PATCH] Edits assert method Makes changes in assert method in tests/hardware/pollsters/test_util.py. Replaces assertEqual(None, s.user_id) on assertIsNone(s.user_id). Change-Id: Iafa437bcd2408845ba6b443474fcf838eae109e4 --- ceilometer/tests/hardware/pollsters/test_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceilometer/tests/hardware/pollsters/test_util.py b/ceilometer/tests/hardware/pollsters/test_util.py index d6e5c736d..247492a16 100644 --- a/ceilometer/tests/hardware/pollsters/test_util.py +++ b/ceilometer/tests/hardware/pollsters/test_util.py @@ -51,7 +51,7 @@ class TestPollsterUtils(test_base.BaseTestCase): unit='B', volume=1, extra=extra) - self.assertEqual(None, s.user_id) + self.assertIsNone(s.user_id) self.assertEqual('project', s.project_id) self.assertEqual('resource', s.resource_id) self.assertEqual({'resource_url': 'snmp://127.0.0.1:161',