Skip to content

Commit

Permalink
fix: test sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
hudsonbrendon committed Jan 13, 2025
1 parent d4baefb commit db9f657
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pymusixmatch/musixmatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class Musixmatch(object):
BASE_URL = "https://api.musixmatch.com/ws"
BASE_URL = "http://api.musixmatch.com/ws"
VERSION = "1.1"

def __init__(self, api_key: str) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_musixmatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def test_track_richsync_get(self, requests_mock, track_richsync_get: dict) -> No
assert track_richsync_get == request

def test_matcher_lyrics_get(self, requests_mock, matcher_lyrics_get) -> None:
url = "https://api.musixmatch.com/ws/1.1/matcher.lyrics.get?q_track=Let%20Me%20Love%20You&q_artist=justinbieber"
url = "http://api.musixmatch.com/ws/1.1/matcher.lyrics.get?q_track=Let%20Me%20Love%20You&q_artist=justinbieber"
requests_mock.get(url=url, json=matcher_lyrics_get)
request = self.musixmatch.matcher_lyrics_get("Let Me Love You", "justinbieber")
assert matcher_lyrics_get == request
Expand Down

0 comments on commit db9f657

Please sign in to comment.