meta_only=False)
def test_configure_endpoints_master_region_master_zone():
- with py.test.raises(client.InvalidZone):
+ with py.test.raises(client.InvalidZone):
_test_configure_endpoints('http://vit:8001', 'skinny', 'skinny-1',
'http://vit:8001', 'skinny', 'skinny-1')
'http://vit:8001', meta_only=False)
def test_configure_endpoints_bad_src_same_region():
- with py.test.raises(client.InvalidZone):
+ with py.test.raises(client.InvalidZone):
_test_configure_endpoints('http://vit:8003', 'swab', 'swab-2',
'http://vit:8004', 'swab', 'swab-3',
'http://vit:8004')
def test_configure_endpoints_bad_src_master_region():
- with py.test.raises(client.InvalidZone):
+ with py.test.raises(client.InvalidZone):
_test_configure_endpoints('http://vit:8003', 'swab', 'swab-2',
'http://vit:8002', 'skinny', 'skinny-2',
'http://vit:8002')
def test_configure_endpoints_bad_src_same_zone():
- with py.test.raises(client.InvalidZone):
+ with py.test.raises(client.InvalidZone):
_test_configure_endpoints('http://vit:8000', 'swab', 'swab-1',
'http://vit:8000', 'swab', 'swab-1',
'http://vit:8000')
'http://vit:80')
def test_configure_endpoints_unknown_zone():
- with py.test.raises(client.ZoneNotFound):
+ with py.test.raises(client.ZoneNotFound):
_test_configure_endpoints('http://vit:8005', 'skinny', 'skinny-1',
'http://vit:8001', 'skinny', 'skinny-1')