Skip to content

Commit f84f8a9

Browse files
committed
tested removing other entries
1 parent e78bc30 commit f84f8a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/aws-library/tests/test_ec2_client.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,11 @@ async def test_set_instance_tags(
604604
# now remove some real ones
605605
tag_key_to_remove = random.choice(list(new_tags)) # noqa: S311
606606
await simcore_ec2_api.remove_instances_tags(
607-
created_instances, tag_keys=[tag_key_to_remove]
607+
created_instances,
608+
tag_keys=[
609+
tag_key_to_remove,
610+
TypeAdapter(AWSTagKey).validate_python("whatever_i_dont_exist"),
611+
],
608612
)
609613
new_tags.pop(tag_key_to_remove)
610614
await _assert_instances_in_ec2(

0 commit comments

Comments
 (0)