aboutsummaryrefslogtreecommitdiffstats
path: root/midi_launchpad_mini_unittest.py
diff options
context:
space:
mode:
authorEddy Pedroni <eddy@0xf7.com>2022-01-01 15:51:32 +0100
committerEddy Pedroni <eddy@0xf7.com>2022-01-01 15:51:32 +0100
commita3cd2e80f11cb203aae372b97ab25be733ccae31 (patch)
tree4c0a07987532a03594b1191640bf14cc9d2515fd /midi_launchpad_mini_unittest.py
parent131f08139165c8e6701a7330ae7b3b2e71cf590b (diff)
Updated unprogrammed button test, not as good as before though
Diffstat (limited to 'midi_launchpad_mini_unittest.py')
-rw-r--r--midi_launchpad_mini_unittest.py5
1 files changed, 2 insertions, 3 deletions
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)
-"""