We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d9f0f commit 8d985e4Copy full SHA for 8d985e4
tests/test_bump_update_version_in_files.py
@@ -347,12 +347,10 @@ def test_update_version_in_files_return_value(version_files):
347
348
# Verify all files in the input are in the returned list
349
assert len(updated_files) == len(version_files)
350
- for file_path in version_files:
351
- assert file_path in updated_files
+ assert set(version_files).issubset(updated_files)
352
353
# Verify the returned paths are strings
354
- for file_path in updated_files:
355
- assert isinstance(file_path, str)
+ assert all(isinstance(file_path, str) for file_path in updated_files)
356
357
358
def test_update_version_in_files_return_value_partial_update(tmp_path):
0 commit comments