diff options
author | 2018-03-02 15:39:36 +0000 | |
---|---|---|
committer | 2018-03-02 15:39:36 +0000 | |
commit | a74ad5a1ec1a73389c5983440b2031b0bc72cea1 (patch) | |
tree | 7c13c3b78cb8ae81219c7b9907f87dec7c499b3c /tests/unit/network_services/nfvi/test_resource.py | |
parent | c27266f509dd1fb07d7b03e5c6befe489a95a423 (diff) | |
parent | 97cb29356bee55639cb3e3343aae50abec2d329e (diff) |
Merge "Replace assertEqual(None, xx) with assertIsNone(xx)"
Diffstat (limited to 'tests/unit/network_services/nfvi/test_resource.py')
-rw-r--r-- | tests/unit/network_services/nfvi/test_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/network_services/nfvi/test_resource.py b/tests/unit/network_services/nfvi/test_resource.py index 7ad166249..d5280eabb 100644 --- a/tests/unit/network_services/nfvi/test_resource.py +++ b/tests/unit/network_services/nfvi/test_resource.py @@ -245,7 +245,7 @@ class TestResourceProfile(unittest.TestCase): self.resource_profile.run_collectd_amqp = \ mock.Mock(return_value=0) res = self.resource_profile.amqp_process_for_nfvi_kpi() - self.assertEqual(None, res) + self.assertIsNone(res) def test_amqp_collect_nfvi_kpi(self): self.resource_profile.amqp_client = \ |