Skip to content

fix: Convert stream to list before assertion #370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/unit/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def test_excludes_dependencies_from_source(
dependency_manager.IGNORE_LIST if mock_dependencies is None else mock_dependencies
)
patched_list_dir.side_effect = [source_files, artifact_files]
source_destinations = TestDependencyManager._convert_strings_to_paths(
list(dependency_manager.yield_source_dest())
source_destinations = list(
TestDependencyManager._convert_strings_to_paths(list(dependency_manager.yield_source_dest()))
)
expected_paths = TestDependencyManager._convert_strings_to_paths(expected)
for expected_source_dest in expected_paths:
Expand Down