Skip to content

Commit afdff0d

Browse files
committed
test: fix assert condition
1 parent d3f029f commit afdff0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/tests/test_vpc_endpoint_service_configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ def test_vpc_endpoint_service_configuration_create_delete(self, ec2_client, simp
122122
k8s.patch_custom_resource(ref, update_allowed_principals_payload)
123123
time.sleep(MODIFY_WAIT_AFTER_SECONDS)
124124

125-
# Check that the allowedPrincipal is properly set
125+
# Check that the allowedPrincipal is no longer set
126126
allowed_principals = ec2_validator.get_vpc_endpoint_service_permissions(resource_id)
127-
assert len(allowed_principals) == 0
127+
assert allowed_principals is None
128128

129129
# Delete k8s resource
130130
_, deleted = k8s.delete_custom_resource(ref)

0 commit comments

Comments
 (0)