

def test_ex_place_balancer_order(self):
    packages = self.driver.ex_list_balancer_packages()
    lb_package = [p for p in packages if (p.capacity == 50)][0]
    self.assertTrue(self.driver.ex_place_balancer_order(lb_package, NodeLocation('dal05', None, None, None)))

dataset/ETHPy150Open apache/libcloud/libcloud/test/loadbalancer/test_softlayer.py SoftlayerLBTests.test_ex_place_balancer_order/original