Skip to content

Commit f94a06c

Browse files
committed
Remove error message assertions in VPC tests
1 parent 3869176 commit f94a06c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/integration/models/vpc/test_vpc.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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

6261
def 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

8482
def 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

9491
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):
10097
subnet.save()
10198

10299
assert excinfo.value.status == 400
103-
assert "Label must include only ASCII" in str(excinfo.value.json)

0 commit comments

Comments
 (0)