Bugfix sonos (#3926)

* Bugfix Sonos

* lint

* Use player uid for looking of exists

* fix lint

* fix unittest

* Change player_id to unique_id
This commit is contained in:
Pascal Vizeli authored and Paulus Schoutsen committed 2016-10-20 08:36:48 -07:00
1 parent d60c2d604f
commit c32afcd961
2 files changed
+14

No files matched your search

@@ -67,6 +67,10 @@ class SoCoMock():
"""Cause the speaker to separate itself from other speakers."""
return
def uid(self):
"""Return a player uid."""
return "RINCON_XXXXXXXXXXXXXXXXX"
class TestSonosMediaPlayer(unittest.TestCase):
"""Test the media_player module."""