Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
In Tests, pass the downloader attribute to the class "YouTubeMetadata…
…Identifier" in case AcoustID fails
  • Loading branch information
Javinator9889 committed Oct 9, 2019
1 parent 09e7a55 commit 9b5880d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YouTubeMDBot/tests/identifier.py
Expand Up @@ -22,7 +22,7 @@ def test_identification(self):
audio, data = downloader.download()
with open("hello.m4a", "wb") as song:
song.write(data)
identifier = YouTubeMetadataIdentifier(audio=data)
identifier = YouTubeMetadataIdentifier(audio=data, downloader=downloader)

valid = identifier.identify_audio()
assert valid
Expand Down

0 comments on commit 9b5880d

Please sign in to comment.