

def test_get_nova_client(self):
    self.mock_client.reset_mock()
    client = self.nova_client.get_client()
    self.mock_client.assert_called_once_with('fake_user', 'fake_password', 'fake_tenant', 'http://1.1.1.1:35357/v2.0/', cacert='', insecure=False, region_name=None)
    self.assertEqual(self.mock_client(), client)

dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/tests/lib/os/compute/test_nova.py NovaComputeTestCase.test_get_nova_client/original