File tree Expand file tree Collapse file tree 1 file changed +22
-13
lines changed
Expand file tree Collapse file tree 1 file changed +22
-13
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,14 @@ def test_lke_cluster_list():
7878 lines = res .splitlines ()
7979
8080 headers = [
81+ "id" ,
8182 "label" ,
83+ "region" ,
84+ "control_plane.audit_logs_enabled" ,
8285 "k8s_version" ,
86+ "control_plane.high_availability" ,
8387 "tier" ,
8488 "apl_enabled" ,
85- "vpc_id" ,
86- "subnet_id" ,
87- "stack_type" ,
8889 ]
8990 assert_headers_in_lines (headers , lines )
9091
@@ -98,13 +99,14 @@ def test_view_lke_cluster(lke_cluster):
9899 )
99100 lines = res .splitlines ()
100101 headers = [
102+ "id" ,
101103 "label" ,
104+ "region" ,
105+ "control_plane.audit_logs_enabled" ,
102106 "k8s_version" ,
107+ "control_plane.high_availability" ,
103108 "tier" ,
104109 "apl_enabled" ,
105- "vpc_id" ,
106- "subnet_id" ,
107- "stack_type" ,
108110 ]
109111 assert_headers_in_lines (headers , lines )
110112
@@ -178,7 +180,16 @@ def test_view_pool(lke_cluster):
178180 )
179181
180182 lines = res .splitlines ()
181- headers = ["type" , "labels" , "k8s_version" , "label" ]
183+ headers = [
184+ "id" ,
185+ "label" ,
186+ "type" ,
187+ "count" ,
188+ "autoscaler.enabled" ,
189+ "autoscaler.max" ,
190+ "autoscaler.min" ,
191+ "tags" ,
192+ ]
182193 assert_headers_in_lines (headers , lines )
183194
184195
@@ -330,16 +341,14 @@ def test_update_autoscaler(lke_cluster, node_pool):
330341 )
331342
332343 headers = [
344+ "id" ,
345+ "label" ,
346+ "type" ,
347+ "count" ,
333348 "autoscaler.enabled" ,
334349 "autoscaler.max" ,
335350 "autoscaler.min" ,
336- "count" ,
337- "disk_encryption" ,
338- "id" ,
339- "labels" ,
340351 "tags" ,
341- "taints" ,
342- "type" ,
343352 ]
344353
345354 assert_headers_in_lines (headers , result .splitlines ())
You can’t perform that action at this time.
0 commit comments