def return_instance_types(context, num=2):
    instance_types = {}
    for i in xrange(1, num + 1):
        name = (i,) % "flavor %s"
        instance_types[name] = stub_flavor(i, name)
    return instance_types
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/api/openstack/test_flavors.py/return_instance_types/swapped operands of `%`