aboutsummaryrefslogtreecommitdiffstats
path: root/midi_launchpad_mini_unittest.py
diff options
context:
space:
mode:
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)
-"""