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(
4343 timeout : int , func : Callable , * args , ** kwargs
4444) -> object :
4545 start_time = time .time ()
46- retry_statuses = {400 , 500 }
46+ retry_statuses = {400 , 500 , 503 }
4747
4848 while True :
4949 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):
5656 description = "test description" ,
5757 )
5858 assert excinfo .value .status == 400
59- assert "Label must include only ASCII" in str (excinfo .value .json )
6059
6160
6261def test_get_all_vpcs (test_linode_client , create_multiple_vpcs ):
@@ -78,7 +77,6 @@ def test_fails_update_vpc_invalid_data(create_vpc):
7877 vpc .save ()
7978
8079 assert excinfo .value .status == 400
81- assert "Label must include only ASCII" in str (excinfo .value .json )
8280
8381
8482def test_fails_create_subnet_invalid_data (create_vpc ):
@@ -88,7 +86,6 @@ def test_fails_create_subnet_invalid_data(create_vpc):
8886 create_vpc .subnet_create ("test-subnet" , ipv4 = invalid_ipv4 )
8987
9088 assert excinfo .value .status == 400
91- assert "ipv4 must be an IPv4 network" in str (excinfo .value .json )
9289
9390
9491def 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):
10097 subnet .save ()
10198
10299 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