Skip to content

Commit bd8ae54

Browse files
authored
Convert stream to list before assertion (#370)
1 parent b317c5d commit bd8ae54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_actions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ def test_excludes_dependencies_from_source(
166166
dependency_manager.IGNORE_LIST if mock_dependencies is None else mock_dependencies
167167
)
168168
patched_list_dir.side_effect = [source_files, artifact_files]
169-
source_destinations = TestDependencyManager._convert_strings_to_paths(
170-
list(dependency_manager.yield_source_dest())
169+
source_destinations = list(
170+
TestDependencyManager._convert_strings_to_paths(list(dependency_manager.yield_source_dest()))
171171
)
172172
expected_paths = TestDependencyManager._convert_strings_to_paths(expected)
173173
for expected_source_dest in expected_paths:

0 commit comments

Comments
 (0)