mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 09:13:53 +00:00
fix test_scopes.py (Empty scopes are None, not "")
This commit is contained in:
parent
5e127c9ab2
commit
d874d53857
@ -82,10 +82,10 @@ class SpotipyScopeTest(TestCase):
|
||||
def test_normalize_scope(self):
|
||||
|
||||
normalized_scope_string = self.normalize_scope([])
|
||||
self.assertEqual(normalized_scope_string, "")
|
||||
self.assertEqual(normalized_scope_string, None)
|
||||
|
||||
normalized_scope_string_2 = self.normalize_scope(())
|
||||
self.assertEqual(normalized_scope_string_2, "")
|
||||
self.assertEqual(normalized_scope_string_2, None)
|
||||
|
||||
self.assertIsNone(self.normalize_scope(None))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user