From dbd8051df4a7a15af1f6b880d457529be833a4d0 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 3 Mar 2019 12:32:27 +0100 Subject: [PATCH] mpd: Add missing .get() in test (cherry picked from commit 0ec4efc3f52266aa3285b6d7e5d934754ced6fd1) --- tests/mpd/test_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mpd/test_status.py b/tests/mpd/test_status.py index 9450808c..f248ec97 100644 --- a/tests/mpd/test_status.py +++ b/tests/mpd/test_status.py @@ -193,7 +193,7 @@ class StatusHandlerTest(unittest.TestCase): def test_status_method_when_playing_contains_time_with_length(self): self.set_tracklist([Track(uri='dummy:/a', length=10000)]) - self.core.playback.play() + self.core.playback.play().get() result = dict(status.status(self.context)) self.assertIn('time', result) (position, total) = result['time'].split(':')