

def test_create_flavor(self):
    self.mock_client().flavors.create.return_value = self.fake_flavor_0
    flavor = self.nova_client.create_flavor()
    self.assertEqual(self.fake_flavor_0, flavor)

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