Skip to content

Commit 900ff1e

Browse files
committed
Update fixture and test assertions for RDMA VPC
1 parent 923aefd commit 900ff1e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/integration/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,6 @@ def create_vpc_with_rdma_type(test_linode_client):
498498
{Capability.vpcs},
499499
),
500500
description="test description",
501-
ipv6=[{"range": "auto"}],
502501
vpc_type="rdma",
503502
)
504503
yield vpc

test/integration/models/vpc/test_vpc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,13 @@ def test_get_vpc_ipv6s(test_linode_client):
148148
def test_get_vpc_with_rdma_type(test_linode_client, create_vpc_with_rdma_type):
149149
vpc_rdma = create_vpc_with_rdma_type
150150
assert vpc_rdma.vpc_type == "rdma"
151+
assert vpc_rdma.ipv6 is None
151152

152153
vpc = test_linode_client.load(VPC, vpc_rdma.id)
153154
assert vpc.id == vpc_rdma.id
154155
assert vpc.vpc_type == vpc_rdma.vpc_type
155156

156-
vpc = test_linode_client.vpcs(VPC.vpc_type == "rdma")[0]
157+
vpc = test_linode_client.vpcs(VPC.vpc_type == "rdma")[-1]
157158
assert vpc.id == vpc_rdma.id
158159
assert vpc.vpc_type == vpc_rdma.vpc_type
159160

0 commit comments

Comments
 (0)