def test_create_balancer_custom_algorithm(self):
     balancer = libcloud_loadbalancer.create_balancer(
         'new_test_balancer',
         80,
         'http',
         'test',
         algorithm='LEAST_CONNECTIONS')
     self._validate_balancer(balancer)
示例#2
0
 def test_create_balancer_custom_algorithm(self):
     balancer = libcloud_loadbalancer.create_balancer(
         "new_test_balancer",
         80,
         "http",
         "test",
         algorithm="LEAST_CONNECTIONS")
     self._validate_balancer(balancer)
 def test_create_balancer(self):
     balancer = libcloud_loadbalancer.create_balancer(
         "new_test_balancer", 80, "http", "test"
     )
     self._validate_balancer(balancer)
 def test_create_balancer(self):
     balancer = libcloud_loadbalancer.create_balancer(
         'new_test_balancer', 80, 'http', 'test')
     self._validate_balancer(balancer)