File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def send_request_when_resource_available(
43
43
timeout : int , func : Callable , * args , ** kwargs
44
44
) -> object :
45
45
start_time = time .time ()
46
- retry_statuses = {400 , 500 }
46
+ retry_statuses = {400 , 500 , 503 }
47
47
48
48
while True :
49
49
try :
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ def test_fails_create_vpc_invalid_data(test_linode_client):
56
56
description = "test description" ,
57
57
)
58
58
assert excinfo .value .status == 400
59
- assert "Label must include only ASCII" in str (excinfo .value .json )
60
59
61
60
62
61
def test_get_all_vpcs (test_linode_client , create_multiple_vpcs ):
@@ -78,7 +77,6 @@ def test_fails_update_vpc_invalid_data(create_vpc):
78
77
vpc .save ()
79
78
80
79
assert excinfo .value .status == 400
81
- assert "Label must include only ASCII" in str (excinfo .value .json )
82
80
83
81
84
82
def test_fails_create_subnet_invalid_data (create_vpc ):
@@ -88,7 +86,6 @@ def test_fails_create_subnet_invalid_data(create_vpc):
88
86
create_vpc .subnet_create ("test-subnet" , ipv4 = invalid_ipv4 )
89
87
90
88
assert excinfo .value .status == 400
91
- assert "ipv4 must be an IPv4 network" in str (excinfo .value .json )
92
89
93
90
94
91
def test_fails_update_subnet_invalid_data (create_vpc_with_subnet ):
@@ -100,4 +97,3 @@ def test_fails_update_subnet_invalid_data(create_vpc_with_subnet):
100
97
subnet .save ()
101
98
102
99
assert excinfo .value .status == 400
103
- assert "Label must include only ASCII" in str (excinfo .value .json )
You can’t perform that action at this time.
0 commit comments