Skip to content

Commit ace528b

Browse files
authored
Update test assertion (#546)
1 parent 751180e commit ace528b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/integration/models/lke/test_lke.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,10 @@ def _to_comparable(p: LKENodePool) -> Dict[str, Any]:
208208

209209
assert _to_comparable(cluster.pools[0]) == _to_comparable(pool)
210210

211-
assert pool.disk_encryption == InstanceDiskEncryptionType.disabled
211+
assert pool.disk_encryption in (
212+
InstanceDiskEncryptionType.enabled,
213+
InstanceDiskEncryptionType.disabled,
214+
)
212215

213216

214217
def test_cluster_dashboard_url_view(lke_cluster):

0 commit comments

Comments
 (0)