def test_create_flavor_too_long_description(self):
        tenant_id = uuidutils.generate_uuid()
        data = {'flavor': {'name': _long_name,
                           'service_type': constants.FLAVORS,
                           'description': _long_description,
                           'tenant_id': tenant_id,
                           'enabled': True}}
        self.api.post(_get_path('flavors', fmt=self.fmt),
                      self.serialize(data),
                      content_type=self.fmt % 'application/%s',
                      status=exc.HTTPBadRequest.code)
dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/extensions/test_flavors.py/FlavorExtensionTestCase.test_create_flavor_too_long_description/swapped operands of `%`