Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccc7b76
commit 3ad512b
Showing
4 changed files
with
131 additions
and
0 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
56 changes: 56 additions & 0 deletions
56
tests/resources/cassettes/TestUser.test_add_artist_id.yaml
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,56 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- "*/*" | ||
Accept-Encoding: | ||
- identity | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- "0" | ||
User-Agent: | ||
- python-requests/2.30.0 | ||
method: POST | ||
uri: https://api.deezer.com/user/me/artists?access_token=dummy&artist_id=27 | ||
response: | ||
body: | ||
string: "true" | ||
headers: | ||
Access-Control-Allow-Credentials: | ||
- "true" | ||
Access-Control-Allow-Headers: | ||
- X-Requested-With, Content-Type, Authorization, Origin, Accept, Accept-Encoding | ||
Access-Control-Allow-Methods: | ||
- POST, GET, OPTIONS, DELETE, PUT | ||
Access-Control-Expose-Headers: | ||
- Location | ||
Access-Control-Max-Age: | ||
- "86400" | ||
Cache-Control: | ||
- no-store, no-cache, must-revalidate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- "4" | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
Expires: | ||
- Thu, 19 Nov 1981 08:52:00 GMT | ||
Pragma: | ||
- no-cache | ||
Server: | ||
- Apache | ||
Strict-Transport-Security: | ||
- max-age=31536000; includeSubDomains | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-Host: | ||
- blm-web-200 | ||
x-org: | ||
- FR | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
56 changes: 56 additions & 0 deletions
56
tests/resources/cassettes/TestUser.test_add_artist_obj.yaml
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,56 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- "*/*" | ||
Accept-Encoding: | ||
- identity | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- "0" | ||
User-Agent: | ||
- python-requests/2.30.0 | ||
method: POST | ||
uri: https://api.deezer.com/user/me/artists?access_token=dummy&artist_id=27 | ||
response: | ||
body: | ||
string: "true" | ||
headers: | ||
Access-Control-Allow-Credentials: | ||
- "true" | ||
Access-Control-Allow-Headers: | ||
- X-Requested-With, Content-Type, Authorization, Origin, Accept, Accept-Encoding | ||
Access-Control-Allow-Methods: | ||
- POST, GET, OPTIONS, DELETE, PUT | ||
Access-Control-Expose-Headers: | ||
- Location | ||
Access-Control-Max-Age: | ||
- "86400" | ||
Cache-Control: | ||
- no-store, no-cache, must-revalidate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- "4" | ||
Content-Type: | ||
- application/json; charset=utf-8 | ||
Expires: | ||
- Thu, 19 Nov 1981 08:52:00 GMT | ||
Pragma: | ||
- no-cache | ||
Server: | ||
- Apache | ||
Strict-Transport-Security: | ||
- max-age=31536000; includeSubDomains | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-Host: | ||
- blm-web-174 | ||
x-org: | ||
- FR | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
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