Skip to content

Commit e2ea6d5

Browse files
authored
tests: simplify assertion
1 parent a5aa553 commit e2ea6d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_bump_update_version_in_files.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,7 @@ def test_update_version_in_files_return_value(version_files):
347347

348348
# Verify all files in the input are in the returned list
349349
assert len(updated_files) == len(version_files)
350-
for file_path in version_files:
351-
assert file_path in updated_files
350+
assert set(version_files).issubset(updated_files)
352351

353352
# Verify the returned paths are strings
354353
for file_path in updated_files:

0 commit comments

Comments
 (0)