Skip to content

Commit e85c71b

Browse files
Fixed several failing VPC integration tests
1 parent 50eea3e commit e85c71b

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

test/integration/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def create_vpc(test_linode_client):
473473
vpc = client.vpcs.create(
474474
label=label,
475475
region=get_region(
476-
test_linode_client, {"VPCs", "VPC IPv6 Stack", "Linode Interfaces"}
476+
test_linode_client, {"VPCs", "VPC IPv6 Stack", "Linode Interfaces", "Custom VPC IPv4 Ranges"}
477477
),
478478
description="test description",
479479
ipv6=[{"range": "auto"}],

test/integration/models/vpc/test_vpc.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ def test_vpc_with_ipv4(test_linode_client, create_vpc_with_ipv4):
164164
loaded_vpc = client.load(VPC, vpc.id)
165165
assert loaded_vpc.ipv4[0].range == "10.0.0.0/8"
166166

167-
all_vpcs = client.vpcs()
168-
assert vpc.id in [v.id for v in all_vpcs]
169-
170167
vpc.ipv4 = [{"range": "192.168.0.0/17"}]
171168
vpc.save()
172169

0 commit comments

Comments
 (0)