Skip to content

Commit

Permalink
backend: Initialize _actor_proxy to None
Browse files Browse the repository at this point in the history
  • Loading branch information
jodal committed Feb 12, 2015
1 parent 1f0a41e commit 3039d2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mopidy_spotify/backend.py
Expand Up @@ -35,6 +35,7 @@ def __init__(self, config, audio):

self._config = config
self._audio = audio
self._actor_proxy = None
self._session = None
self._event_loop = None
self._bitrate = None
Expand Down
1 change: 1 addition & 0 deletions tests/test_playback.py
Expand Up @@ -36,6 +36,7 @@ def session_mock():
def backend_mock(config, session_mock):
backend_mock = mock.Mock(spec=backend.SpotifyBackend)
backend_mock._config = config
backend_mock._actor_proxy = None
backend_mock._session = session_mock
return backend_mock

Expand Down

0 comments on commit 3039d2d

Please sign in to comment.