Call playback.destroy instead of backend.destroy for the time being
This commit is contained in:
parent
23685dd9f0
commit
4334548ea4
@ -25,7 +25,7 @@ class BaseCurrentPlaylistControllerTest(object):
|
||||
assert len(self.tracks) >= 3, 'Need at least three tracks to run tests.'
|
||||
|
||||
def tearDown(self):
|
||||
self.backend.destroy()
|
||||
self.backend.playback.destroy()
|
||||
|
||||
def test_add(self):
|
||||
for track in self.tracks:
|
||||
@ -203,7 +203,7 @@ class BasePlaybackControllerTest(object):
|
||||
'First song needs to be at least 2000 miliseconds'
|
||||
|
||||
def tearDown(self):
|
||||
self.backend.destroy()
|
||||
self.backend.playback.destroy()
|
||||
|
||||
def test_initial_state_is_stopped(self):
|
||||
self.assertEqual(self.playback.state, self.playback.STOPPED)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user