Skip to content

Commit

Permalink
UT: Remove unnecessary "linux" from parametrized test variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
mssalvatore committed Apr 26, 2023
1 parent bb50b39 commit bcbb52c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ def test_get_agent_binary__cached(
mock_masquerade_agent_binary_repository: MasqueradeAgentBinaryRepositoryDecorator,
operating_system: OperatingSystem,
):
actual_linux_binary = mock_masquerade_agent_binary_repository.get_agent_binary(operating_system)
actual_binary = mock_masquerade_agent_binary_repository.get_agent_binary(operating_system)
in_memory_agent_binary_repository.agent_binaries[operating_system] = b"new_binary"
cached_linux_binary = mock_masquerade_agent_binary_repository.get_agent_binary(operating_system)
cached_binary = mock_masquerade_agent_binary_repository.get_agent_binary(operating_system)

assert actual_linux_binary == cached_linux_binary
assert actual_binary == cached_binary


@pytest.mark.parametrize(
Expand Down

0 comments on commit bcbb52c

Please sign in to comment.