diff options
author | Eddy Pedroni <eddy@0xf7.com> | 2022-01-01 15:51:32 +0100 |
---|---|---|
committer | Eddy Pedroni <eddy@0xf7.com> | 2022-01-01 15:51:32 +0100 |
commit | a3cd2e80f11cb203aae372b97ab25be733ccae31 (patch) | |
tree | 4c0a07987532a03594b1191640bf14cc9d2515fd /midi_launchpad_mini_unittest.py | |
parent | 131f08139165c8e6701a7330ae7b3b2e71cf590b (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.py | 5 |
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) -""" |