diff options
author | Eddy Pedroni <eddy@0xf7.com> | 2022-01-07 18:27:05 +0100 |
---|---|---|
committer | Eddy Pedroni <eddy@0xf7.com> | 2022-01-07 18:27:05 +0100 |
commit | fe49a419d836f514c756be5211558de9b8859511 (patch) | |
tree | 724ac18d609d4ccbc89b6215d776d53ef9f9e4b0 /solo_tool_cli_integrationtest.py | |
parent | 192100c0590dfbe2db498b356fbd1e1e19eace2c (diff) |
Added main function to CLI, fixed CLI test mocks
Diffstat (limited to 'solo_tool_cli_integrationtest.py')
-rw-r--r-- | solo_tool_cli_integrationtest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solo_tool_cli_integrationtest.py b/solo_tool_cli_integrationtest.py index ae007a3..9134dcf 100644 --- a/solo_tool_cli_integrationtest.py +++ b/solo_tool_cli_integrationtest.py @@ -7,7 +7,7 @@ from solo_tool import SoloTool from player_mock import Player class MockMidiController: - def __init__(self): + def __init__(self, soloTool): self.connected = False def connect(self): @@ -23,7 +23,7 @@ def soloTool(mockPlayer): @pytest.fixture def mockMidi(soloTool): - return MockMidiController() + return MockMidiController(soloTool) @pytest.fixture def uut(soloTool, mockMidi): |