mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
Appease Flake8
This commit is contained in:
parent
3a67eae46d
commit
7b57b0b608
2 changed files with 6 additions and 3 deletions
|
|
@ -462,7 +462,7 @@ class SpotifyPlugin(BeetsPlugin):
|
|||
"""
|
||||
Get a list of simplified track objects dicts for library tracks
|
||||
matching the specified ``keywords``.
|
||||
|
||||
|
||||
:param library: beets library object to query.
|
||||
:type library: beets.library.Library
|
||||
:param keywords: Query to match library items against.
|
||||
|
|
@ -566,7 +566,8 @@ class SpotifyPlugin(BeetsPlugin):
|
|||
|
||||
def _output_match_results(self, results):
|
||||
"""
|
||||
Open a playlist or print Spotify URLs for the provided track object dicts.
|
||||
Open a playlist or print Spotify URLs for the provided track
|
||||
object dicts.
|
||||
|
||||
:param results: List of simplified track object dicts
|
||||
(https://developer.spotify.com/documentation/web-api/reference/object-model/#track-object-simplified)
|
||||
|
|
|
|||
|
|
@ -59,7 +59,9 @@ class SpotifyPluginTest(_common.TestCase, TestHelper):
|
|||
self.assertEqual(True, self.spotify._parse_opts(opts))
|
||||
|
||||
def test_empty_query(self):
|
||||
self.assertEqual(None, self.spotify._match_library_tracks(self.lib, u"1=2"))
|
||||
self.assertEqual(
|
||||
None, self.spotify._match_library_tracks(self.lib, u"1=2")
|
||||
)
|
||||
|
||||
@responses.activate
|
||||
def test_missing_request(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue