diff options
Diffstat (limited to 'tests/test_pandora/test_client.py')
-rw-r--r-- | tests/test_pandora/test_client.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/test_pandora/test_client.py b/tests/test_pandora/test_client.py index 1c5a229..4262d34 100644 --- a/tests/test_pandora/test_client.py +++ b/tests/test_pandora/test_client.py | |||
@@ -177,7 +177,14 @@ class TestCreatingStation(TestCase): | |||
177 | client = APIClient(Mock(return_value={}), None, None, None, None) | 177 | client = APIClient(Mock(return_value={}), None, None, None, None) |
178 | client.create_station(artist_token="foo") | 178 | client.create_station(artist_token="foo") |
179 | client.transport.assert_called_with( | 179 | client.transport.assert_called_with( |
180 | "station.createStation", trackToken="foo", musicType="artist" | 180 | "station.createStation", musicToken="foo", musicType="artist" |
181 | ) | ||
182 | |||
183 | def test_using_song_token(self): | ||
184 | client = APIClient(Mock(return_value={}), None, None, None, None) | ||
185 | client.create_station(song_token="foo") | ||
186 | client.transport.assert_called_with( | ||
187 | "station.createStation", musicToken="foo", musicType="song" | ||
181 | ) | 188 | ) |
182 | 189 | ||
183 | def test_using_track_token(self): | 190 | def test_using_track_token(self): |