From a3cd2e80f11cb203aae372b97ab25be733ccae31 Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Sat, 1 Jan 2022 15:51:32 +0100 Subject: Updated unprogrammed button test, not as good as before though --- midi_launchpad_mini_unittest.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'midi_launchpad_mini_unittest.py') diff --git a/midi_launchpad_mini_unittest.py b/midi_launchpad_mini_unittest.py index 55ca6c8..43fc561 100644 --- a/midi_launchpad_mini_unittest.py +++ b/midi_launchpad_mini_unittest.py @@ -136,13 +136,12 @@ def test_previousAndNextSongButtons(): midiWrapperMock.simulateInput(118) assert soloToolMock.currentSong == 0 -""" def test_unprogrammedButton(): unusedButton = 48 + soloToolMock = SoloToolMock() midiWrapperMock = MidiWrapperMock() - uut = MidiController(None, midiWrapperMock) + uut = MidiController(soloToolMock, midiWrapperMock) uut.connect() # expect no crash midiWrapperMock.simulateInput(48) -""" -- cgit v1.2.3