aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/tests/unit/benchmark/contexts/test_node.py
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2018-01-25 23:10:31 +0000
committerEmma Foley <emma.l.foley@intel.com>2018-03-02 11:54:15 +0000
commit97cb29356bee55639cb3e3343aae50abec2d329e (patch)
treede612ec84d22ce8c4089831138dfd5e5b0805c8e /yardstick/tests/unit/benchmark/contexts/test_node.py
parent23c32c26ccba99c5307c865dfb7673cf5e6e1acc (diff)
Replace assertEqual(None, xx) with assertIsNone(xx)
Change-Id: Ie956d8064a8fbcbd3d56c5a79c4c613d35184af4 JIRA: YARDSTICK-942 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Diffstat (limited to 'yardstick/tests/unit/benchmark/contexts/test_node.py')
-rw-r--r--yardstick/tests/unit/benchmark/contexts/test_node.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/tests/unit/benchmark/contexts/test_node.py b/yardstick/tests/unit/benchmark/contexts/test_node.py
index ae7c5d999..9761f6d53 100644
--- a/yardstick/tests/unit/benchmark/contexts/test_node.py
+++ b/yardstick/tests/unit/benchmark/contexts/test_node.py
@@ -121,7 +121,7 @@ class NodeContextTestCase(unittest.TestCase):
@mock.patch("{}.AnsibleCommon".format(PREFIX))
def test__do_ansible_job(self, *args):
- self.assertEqual(None, self.test_context._do_ansible_job('dummy'))
+ self.assertIsNone(self.test_context._do_ansible_job('dummy'))
def test_init(self):
self.test_context.init(self.attrs)