def test_split_range_hash_partitioner(self):
        range_mid = int(Range.RANGE_MAX_VALUE / 2)
        partitioner = HashPartitioner('node1', 'MIN..%s' % range_mid)
        sensors1 = partitioner.get_sensors()

        partitioner = HashPartitioner('node2', range_mid % '%s..MAX')
        sensors2 = partitioner.get_sensors()

        self.assertEqual(len(sensors1) + len(sensors2), 3, 'Expected all sensors')
dataset/ETHPy150Open StackStorm/st2/st2reactor/tests/unit/test_hash_partitioner.py/HashPartitionerTest.test_split_range_hash_partitioner/swapped operands of `%`