Skip to content

Commit ac2444d

Browse files
committed
Fix typo in variable name
Just a refactoring of variable name to avoid possible confusion.
1 parent a0ac7d4 commit ac2444d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compilesketches/tests/test_compilesketches.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,17 +810,17 @@ def __init__(self):
810810
compile_sketches.install_platforms_from_download(platform_list=platform_list)
811811

812812
get_platform_installation_path_calls = []
813-
install_platforms_from_download_calls = []
813+
install_from_download_calls = []
814814
for platform, expected_source_path, in zip(platform_list, expected_source_path_list):
815815
get_platform_installation_path_calls.append(unittest.mock.call(compile_sketches, platform=platform))
816-
install_platforms_from_download_calls.append(
816+
install_from_download_calls.append(
817817
unittest.mock.call(url=platform[compilesketches.CompileSketches.dependency_source_url_key],
818818
source_path=expected_source_path,
819819
destination_parent_path=platform_installation_path.path.parent,
820820
destination_name=platform_installation_path.path.name,
821821
force=platform_installation_path.is_overwrite)
822822
)
823-
compilesketches.install_from_download.assert_has_calls(calls=install_platforms_from_download_calls)
823+
compilesketches.install_from_download.assert_has_calls(calls=install_from_download_calls)
824824

825825

826826
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)