From 876071a7a41ee4a1f579739b242a00058bdc160d Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Tue, 25 Feb 2025 13:04:44 +0100 Subject: Refactor song selection tests, change behaviour so first added song is automatically selected --- solo-tool-project/test/midi_launchpad_mini_integrationtest.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'solo-tool-project/test/midi_launchpad_mini_integrationtest.py') diff --git a/solo-tool-project/test/midi_launchpad_mini_integrationtest.py b/solo-tool-project/test/midi_launchpad_mini_integrationtest.py index 9e8c92e..642733d 100644 --- a/solo-tool-project/test/midi_launchpad_mini_integrationtest.py +++ b/solo-tool-project/test/midi_launchpad_mini_integrationtest.py @@ -138,10 +138,7 @@ def test_previousAndNextSongButtons(uut, midiWrapperMock, soloTool, playerMock): soloTool.addSong(s) uut.connect() - assert playerMock.currentSong == None - midiWrapperMock.simulateInput(nextSongButton) assert playerMock.currentSong == songs[0] - midiWrapperMock.simulateInput(nextSongButton) assert playerMock.currentSong == songs[1] -- cgit v1.2.3