diff options
author | Emma Foley <emma.l.foley@intel.com> | 2018-01-25 23:10:31 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-03-02 11:54:15 +0000 |
commit | 97cb29356bee55639cb3e3343aae50abec2d329e (patch) | |
tree | de612ec84d22ce8c4089831138dfd5e5b0805c8e /yardstick/tests/unit/benchmark/core | |
parent | 23c32c26ccba99c5307c865dfb7673cf5e6e1acc (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/core')
-rw-r--r-- | yardstick/tests/unit/benchmark/core/test_task.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/tests/unit/benchmark/core/test_task.py b/yardstick/tests/unit/benchmark/core/test_task.py index b3a51209a..82a90b172 100644 --- a/yardstick/tests/unit/benchmark/core/test_task.py +++ b/yardstick/tests/unit/benchmark/core/test_task.py @@ -66,7 +66,7 @@ class TaskTestCase(unittest.TestCase): mock_dispatcher.get = mock.MagicMock(return_value=[dispatcher1, dispatcher2]) - self.assertEqual(None, t._do_output(output_config, {})) + self.assertIsNone(t._do_output(output_config, {})) @mock.patch.object(task, 'Context') def test_parse_networks_from_nodes(self, mock_context): |