core: Update test mock
This commit is contained in:
parent
0bf67e296f
commit
a83d9836f9
@ -724,6 +724,7 @@ class CorePlaybackWithOldBackendTest(unittest.TestCase):
|
||||
}
|
||||
|
||||
b = mock.Mock()
|
||||
b.actor_ref.actor_class.__name__ = 'DummyBackend'
|
||||
b.uri_schemes.get.return_value = ['dummy1']
|
||||
b.playback = mock.Mock(spec=backend.PlaybackProvider)
|
||||
b.playback.play.side_effect = TypeError
|
||||
|
||||
Loading…
Reference in New Issue
Block a user