Skip to content

Commit 30c5de0

Browse files
stopping point
1 parent ef34947 commit 30c5de0

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

test/integration/models/linode/interfaces/test_interfaces.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,17 @@
1010
LinodeInterfaceDefaultRouteOptions,
1111
LinodeInterfaceOptions,
1212
LinodeInterfacePublicOptions,
13+
LinodeInterfaceVPCOptions,
1314
)
1415

1516

1617
@pytest.fixture(scope="session")
17-
def linode_create_with_interfaces(test_linode_client, e2e_test_firewall):
18+
def linode_create_with_interfaces(
19+
test_linode_client, e2e_test_firewall, create_vpc_with_subnet
20+
):
1821
client = test_linode_client
22+
vpc, subnet = create_vpc_with_subnet
23+
1924
region = get_region(
2025
client,
2126
{"Linodes", "Cloud Firewall", "Linode Interfaces"},
@@ -37,7 +42,16 @@ def linode_create_with_interfaces(test_linode_client, e2e_test_firewall):
3742
ipv6=True,
3843
),
3944
public=LinodeInterfacePublicOptions(),
40-
)
45+
),
46+
LinodeInterfaceOptions(
47+
firewall_id=e2e_test_firewall.id,
48+
default_route=LinodeInterfaceDefaultRouteOptions(
49+
ipv4=True,
50+
),
51+
vpc=LinodeInterfaceVPCOptions(
52+
subnet_id=subnet.id,
53+
),
54+
),
4155
],
4256
)
4357

0 commit comments

Comments
 (0)