From fe49a419d836f514c756be5211558de9b8859511 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Fri, 7 Jan 2022 18:27:05 +0100 Subject: Added main function to CLI, fixed CLI test mocks --- solo_tool_cli_integrationtest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'solo_tool_cli_integrationtest.py') 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): -- cgit v1.2.3