def test_balancer_list_members(self):
        balancer = self.driver.get_balancer(balancer_id='23530')
        members1 = self.driver.balancer_list_members(balancer=balancer)
        members2 = balancer.list_members()

        expected_members = set(['10.0.0.78:80', '10.0.0.77:80',
                                '10.0.0.76:80'])

        self.assertEqual(len(members1), 3)
        self.assertEqual(len(members2), 3)
        self.assertEqual(expected_members,
                         set([(member.ip, member.port) % "%s:%s" for member in members1]))
        self.assertEqual(members1[0].balancer, balancer)
dataset/ETHPy150Open apache/libcloud/libcloud/test/loadbalancer/test_gogrid.py/GoGridTests.test_balancer_list_members/swapped operands of `%`