def test_delete_flavor(self):
        flavor_id = 'fake_id'
        instance = self.plugin.return_value
        self.api.delete(_get_path('flavors', id=flavor_id, fmt=self.fmt),
                        content_type='application/%s' % self.fmt)

        instance.delete_flavor.assert_called_with(mock.ANY,
                                                  flavor_id)
dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/extensions/test_flavors.py/FlavorExtensionTestCase.test_delete_flavor/original