-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ability to add a bookmark to an episode
- Loading branch information
1 parent
dac1530
commit 6dc32ac
Showing
4 changed files
with
84 additions
and
1 deletion.
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
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/TestEpisode.test_add_bookmark.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/episode/343457312/bookmark?access_token=dummy&offset=55 | ||
response: | ||
body: | ||
string: '{"error":[],"results":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: | ||
- "27" | ||
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-136 | ||
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