SwagLyrics Backend: Add some unit tests
Introduction
SwagLyrics is an application that fetches the currently playing song from Spotify on Windows, Linux and macOS to displays the lyrics in the command-line or in a browser tab (using Flask). Refreshes automatically when song changes and uses lyrics fetched from Genius. The application is also available as a pip module.
The task
Currently, the SwagLyrics Backend doesn't have any tests. If you're reading this carefully at the moment you would realize that's a terrible idea. So your goal is to create some tests for the backend so we don't look that bad
Flask provides a way to test the application, so it'd be great to make use of that and test some stuff that way.
While implemented at a larger scale, the CCExtractor/sample-platform tests might provide a reference.
Requirements to complete this task
We expect a pull request that adds at least 3 new unit tests that cover previously untested code.