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 5b6e048 commit 1831c3cCopy full SHA for 1831c3c
tests/test_bump_update_version_in_files.py
@@ -346,13 +346,10 @@ def test_update_version_in_files_return_value(version_files):
346
assert isinstance(updated_files, list)
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) == set(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