Skip to content

Commit 365c7d5

Browse files
authored
Regression fixes (linode#636)
* Fix of: test_cluster_create_with_api_objects * Revert changes in lke.py, pass [node_pools] to cluster_create in int test instead * Rename node_pools to node_pool as it is single element
1 parent 7708f87 commit 365c7d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/linode_client/test_linode_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,10 @@ def test_cluster_create_with_api_objects(test_linode_client):
328328
node_type = client.linode.types()[1] # g6-standard-1
329329
version = client.lke.versions()[0]
330330
region = get_region(client, {"Kubernetes"})
331-
node_pools = client.lke.node_pool(node_type, 3)
331+
node_pool = client.lke.node_pool(node_type, 3)
332332
label = get_test_label()
333333

334-
cluster = client.lke.cluster_create(region, label, node_pools, version)
334+
cluster = client.lke.cluster_create(region, label, version, [node_pool])
335335

336336
assert cluster.region.id == region.id
337337
assert cluster.k8s_version.id == version.id

0 commit comments

Comments
 (0)