diff options
Diffstat (limited to 'solo-tool-project/test/solo_tool_controller_integrationtest.py')
-rw-r--r-- | solo-tool-project/test/solo_tool_controller_integrationtest.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/solo-tool-project/test/solo_tool_controller_integrationtest.py b/solo-tool-project/test/solo_tool_controller_integrationtest.py index c161c70..9311483 100644 --- a/solo-tool-project/test/solo_tool_controller_integrationtest.py +++ b/solo-tool-project/test/solo_tool_controller_integrationtest.py @@ -36,22 +36,22 @@ def test_previousSong(uut, soloTool): soloTool.registerCurrentSongCallback(callback) - soloTool.getCurrentSong() == None + soloTool.song == None assert not called uut.previousSong() - soloTool.getCurrentSong() == 0 + soloTool.song == 0 assert called assert receivedValue == 0 called = False uut.previousSong() - soloTool.getCurrentSong() == 0 + soloTool.song == 0 assert not called - soloTool.setSong(1) + soloTool.song = 1 uut.previousSong() - soloTool.getCurrentSong() == 0 + soloTool.song == 0 assert called assert receivedValue == 0 called = False @@ -66,21 +66,21 @@ def test_nextSong(uut, soloTool): soloTool.registerCurrentSongCallback(callback) - soloTool.getCurrentSong() == None + soloTool.song == None assert not called uut.nextSong() - soloTool.getCurrentSong() == 0 + soloTool.song == 0 assert called assert receivedValue == 0 called = False uut.nextSong() - soloTool.getCurrentSong() == 1 + soloTool.song == 1 assert called assert receivedValue == 1 called = False uut.nextSong() - soloTool.getCurrentSong() == 1 + soloTool.song == 1 assert not called |