mpd: Add missing .get() in test
(cherry picked from commit 0ec4efc3f52266aa3285b6d7e5d934754ced6fd1)
This commit is contained in:
parent
5726fb9d70
commit
dbd8051df4
@ -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(':')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user