Skip to content

Commit e158a1a

Browse files
committed
limit reached test
1 parent bfd9551 commit e158a1a

File tree

4 files changed

+3214
-17
lines changed

4 files changed

+3214
-17
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
interactions:
2+
- request:
3+
body: null
4+
headers:
5+
Accept:
6+
- '*/*'
7+
Accept-Encoding:
8+
- gzip, deflate
9+
Connection:
10+
- keep-alive
11+
User-Agent:
12+
- python-requests/2.32.3
13+
method: GET
14+
uri: https://www.omdbapi.com/?Episode=10&Season=3&apikey=supersecret&t=Psych&type=episode
15+
response:
16+
body:
17+
string: "{\"Title\":\"Six Feet Under the Sea\",\"Year\":\"2009\",\"Rated\":\"TV-PG\",\"Released\":\"09
18+
Jan 2009\",\"Season\":\"3\",\"Episode\":\"10\",\"Runtime\":\"43 min\",\"Genre\":\"Comedy,
19+
Crime, Mystery\",\"Director\":\"Steve Franks\",\"Writer\":\"Steve Franks\",\"Actors\":\"James
20+
Roday Rodriguez, Dul\xE9 Hill, Timothy Omundson\",\"Plot\":\"Shawn and Gus
21+
are hired by April MacArthur, an attractive marine biologist, who suspects
22+
that a recently released sea lion's death resulted from foul play and thinks
23+
wildlife television host Randy Labayda may be involved.\",\"Language\":\"English\",\"Country\":\"United
24+
States\",\"Awards\":\"N/A\",\"Poster\":\"https://m.media-amazon.com/images/M/MV5BMTAxODg2MDgyOTBeQTJeQWpwZ15BbWU4MDAwODM1NjIx._V1_SX300.jpg\",\"Ratings\":[],\"Metascore\":\"N/A\",\"imdbRating\":\"N/A\",\"imdbVotes\":\"918\",\"imdbID\":\"tt1189417\",\"seriesID\":\"tt0491738\",\"Type\":\"episode\",\"Response\":\"True\"}"
25+
headers:
26+
CF-Cache-Status:
27+
- MISS
28+
CF-RAY:
29+
- 8f93fba14e13c5aa-IAD
30+
Cache-Control:
31+
- public, max-age=86400
32+
Connection:
33+
- keep-alive
34+
Content-Type:
35+
- application/json; charset=utf-8
36+
Date:
37+
- Sat, 28 Dec 2024 19:33:38 GMT
38+
Server:
39+
- cloudflare
40+
Transfer-Encoding:
41+
- chunked
42+
access-control-allow-origin:
43+
- '*'
44+
content-length:
45+
- '832'
46+
expires:
47+
- Sat, 28 Dec 2024 20:33:35 GMT
48+
last-modified:
49+
- Sat, 28 Dec 2024 19:33:35 GMT
50+
vary:
51+
- '*, Accept-Encoding'
52+
x-aspnet-version:
53+
- 4.0.30319
54+
x-powered-by:
55+
- ASP.NET
56+
status:
57+
code: 200
58+
message: OK
59+
version: 1

tests/cassettes/episodes/Psych.yaml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
interactions:
2+
- request:
3+
body: null
4+
headers:
5+
Accept:
6+
- '*/*'
7+
Accept-Encoding:
8+
- gzip, deflate
9+
Connection:
10+
- keep-alive
11+
User-Agent:
12+
- python-requests/2.32.3
13+
method: GET
14+
uri: https://www.omdbapi.com/?Season=3&apikey=supersecret&t=Psych&type=episode
15+
response:
16+
body:
17+
string: '{"Title":"Psych","Season":"3","totalSeasons":"8","Episodes":[{"Title":"Ghosts","Released":"2008-07-18","Episode":"1","imdbRating":"8.1","imdbID":"tt1189416"},{"Title":"Murder?...
18+
Anyone?... Anyone?... Bueller?","Released":"2008-07-25","Episode":"2","imdbRating":"8.9","imdbID":"tt1189424"},{"Title":"Daredevils!","Released":"2008-08-01","Episode":"3","imdbRating":"N/A","imdbID":"tt1189425"},{"Title":"The
19+
Greatest Adventure in the History of Basic Cable","Released":"2008-08-08","Episode":"4","imdbRating":"8.5","imdbID":"tt1189426"},{"Title":"Disco
20+
Didn''t Die. It Was Murdered!","Released":"2008-08-15","Episode":"5","imdbRating":"8.3","imdbID":"tt1189427"},{"Title":"There
21+
Might Be Blood","Released":"2008-08-22","Episode":"6","imdbRating":"N/A","imdbID":"tt1189428"},{"Title":"Talk
22+
Derby to Me","Released":"2008-09-05","Episode":"7","imdbRating":"8.1","imdbID":"tt1189429"},{"Title":"Gus
23+
Walks Into a Bank","Released":"2008-09-12","Episode":"8","imdbRating":"N/A","imdbID":"tt1189430"},{"Title":"Christmas
24+
Joy","Released":"2008-11-28","Episode":"9","imdbRating":"N/A","imdbID":"tt1189431"},{"Title":"Six
25+
Feet Under the Sea","Released":"2009-01-09","Episode":"10","imdbRating":"N/A","imdbID":"tt1189417"},{"Title":"Lassie
26+
Did a Bad, Bad Thing","Released":"2009-01-16","Episode":"11","imdbRating":"8.7","imdbID":"tt1189418"},{"Title":"Earth,
27+
Wind and... Wait for It","Released":"2009-01-23","Episode":"12","imdbRating":"8.1","imdbID":"tt1189419"},{"Title":"Any
28+
Given Friday Night at 10PM, 9PM Central","Released":"2009-01-30","Episode":"13","imdbRating":"N/A","imdbID":"tt1189420"},{"Title":"Truer
29+
Lies","Released":"2009-02-06","Episode":"14","imdbRating":"N/A","imdbID":"tt1189421"},{"Title":"Tuesday
30+
the 17th","Released":"2009-02-13","Episode":"15","imdbRating":"9.0","imdbID":"tt1189422"},{"Title":"An
31+
Evening with Mr. Yang","Released":"2009-02-20","Episode":"16","imdbRating":"9.4","imdbID":"tt1189423"}],"Response":"True"}'
32+
headers:
33+
CF-Cache-Status:
34+
- MISS
35+
CF-RAY:
36+
- 8f93ea95df9b0806-IAD
37+
Cache-Control:
38+
- public, max-age=86400
39+
Connection:
40+
- keep-alive
41+
Content-Type:
42+
- application/json; charset=utf-8
43+
Date:
44+
- Sat, 28 Dec 2024 19:21:57 GMT
45+
Server:
46+
- cloudflare
47+
Transfer-Encoding:
48+
- chunked
49+
access-control-allow-origin:
50+
- '*'
51+
content-length:
52+
- '1929'
53+
expires:
54+
- Sat, 28 Dec 2024 20:21:57 GMT
55+
last-modified:
56+
- Sat, 28 Dec 2024 19:21:57 GMT
57+
vary:
58+
- '*, Accept-Encoding'
59+
x-aspnet-version:
60+
- 4.0.30319
61+
x-powered-by:
62+
- ASP.NET
63+
status:
64+
code: 200
65+
message: OK
66+
version: 1

0 commit comments

Comments
 (0)