def _npb_test_obj(self, pnum, vnum, vni=0, switch='10.9.8.7',
                      instance=None, is_provider_vlan=False,
                      channel_group=0, is_native_vlan=False):
        """Creates a Nexus port binding test object from a pair of numbers."""
        if pnum is 'router':
            port = pnum
        else:
            port = '1/%s' % pnum
        if instance is None:
            instance = (pnum, vnum) % 'instance_%s_%s'
        return self.NpbObj(port, vnum, vni, switch, instance,
                           is_provider_vlan, channel_group,
                           is_native_vlan=False)
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/ml2/drivers/cisco/nexus/test_cisco_nexus_db.py/CiscoNexusDbTest._npb_test_obj/swapped operands of `%`