Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.
Change-Id: Iac9462620bf4ae338998fa6aea7f1514a945059b
Closes-Bug:#
1280522
conn_info = self.volume.initialize_connection(self.context,
'fake_volume_id',
connector)
- self.assertEqual(None, conn_info['data']['qos_specs'])
+ self.assertIsNone(conn_info['data']['qos_specs'])
def test_run_attach_detach_volume_for_instance(self):
"""Make sure volume can be attached and detached from instance."""