-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test unsupported_precheck in __main__.py Signed-off-by: Aadi Bajpai <[email protected]>
- Loading branch information
1 parent
0bd4dce
commit 9c538d2
Showing
4 changed files
with
55 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# SwagLyrics for Spotify | ||
# Copyright (c) 2019 Aadi Bajpai | ||
# The SwagLyrics Project |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# SwagLyrics for Spotify | ||
# Copyright (c) 2019 Aadi Bajpai | ||
# The SwagLyrics Project | ||
|
||
|
||
class R: | ||
""" | ||
This is a fake class created to mock requests' status code | ||
""" | ||
|
||
def __init__(self, status_code=7355608, text='google this number'): | ||
self.status_code = status_code | ||
self.text = text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters