

def test_get_flavor_list(self):
    fake_flavor_list = [self.fake_flavor_0, self.fake_flavor_1]
    self.mock_client().flavors.list.return_value = fake_flavor_list
    flavor_list = self.nova_client.get_flavor_list()
    self.assertEqual(fake_flavor_list, flavor_list)

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