From a83d9836f9c00c4d95a8d51dfa7f4e1ab23338ce Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sat, 25 Jul 2015 14:46:48 +0200 Subject: [PATCH] core: Update test mock --- tests/core/test_playback.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/core/test_playback.py b/tests/core/test_playback.py index 0e51c4db..5a8c9649 100644 --- a/tests/core/test_playback.py +++ b/tests/core/test_playback.py @@ -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