def test_disassociate_service_profile_with_flavor(self):
        instance = self.plugin.return_value
        instance.delete_flavor_service_profile.return_value = None
        self.api.delete('/flavors/fl_id/service_profiles/%s' % 'fake_spid',
                        content_type='application/%s' % self.fmt)
        instance.delete_flavor_service_profile.assert_called_with(
            mock.ANY,
            'fake_spid',
            flavor_id='fl_id')
dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/extensions/test_flavors.py/FlavorExtensionTestCase.test_disassociate_service_profile_with_flavor/original