Replace cinder create volume with shade client.
[yardstick.git] / yardstick / tests / unit / benchmark / scenarios / lib / test_create_port.py
index 9a1611c..bea02a6 100644 (file)
@@ -24,4 +24,4 @@ class CreatePortTestCase(unittest.TestCase):
         args = {"options": options}
         obj = CreatePort(args, {})
         obj.run({})
-        self.assertTrue(mock_get_neutron_client.called)
+        mock_get_neutron_client.assert_called_once()