Skip to content

Commit b1a93f2

Browse files
stu247Electronic-Mango
authored andcommitted
change ID values to ...Id2 in unit tests, add tmdb_id to examples
1 parent 5e71d88 commit b1a93f2

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

examples/details_output.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
short_description="Set in the 22nd century, The Matrix tells the story of a computer hacker who joins a group of underground insurgents fighting the vast and powerful computers who now rule the earth.",
1414
genres=["scf", "act"],
1515
imdb_id="tt0133093",
16+
tmdb_id='603',
1617
poster="https://images.justwatch.com/poster/140351543/s718/the-matrix.jpg",
1718
backdrops=[
1819
"https://images.justwatch.com/backdrop/175642791/s1920/the-matrix.jpg",

examples/search_output.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
short_description="Set in the 22nd century, The Matrix tells the story of a computer hacker who joins a group of underground insurgents fighting the vast and powerful computers who now rule the earth.",
1515
genres=["scf", "act"],
1616
imdb_id="tt0133093",
17+
tmdb_id='603',
1718
poster="https://images.justwatch.com/poster/140351543/s718/the-matrix.jpg",
1819
backdrops=[
1920
"https://images.justwatch.com/backdrop/175642791/s1920/the-matrix.jpg",
@@ -429,6 +430,7 @@
429430
short_description="Six months after the events depicted in The Matrix, Neo has proved to be a good omen for the free humans, as more and more humans are being freed from the matrix and brought to Zion, the one and only stronghold of the Resistance. Neo himself has discovered his superpowers including super speed, ability to see the codes of the things inside the matrix and a certain degree of pre-cognition. But a nasty piece of news hits the human resistance: 250,000 machine sentinels are digging to Zion and would reach them in 72 hours. As Zion prepares for the ultimate war, Neo, Morpheus and Trinity are advised by the Oracle to find the Keymaker who would help them reach the Source. Meanwhile Neo's recurrent dreams depicting Trinity's death have got him worried and as if it was not enough, Agent Smith has somehow escaped deletion, has become more powerful than before and has fixed Neo as his next target.",
430431
genres=["trl", "scf", "act"],
431432
imdb_id="tt0234215",
433+
tmdb_id='604',
432434
poster="https://images.justwatch.com/poster/251725999/s718/the-matrix-2-reloaded.jpg",
433435
backdrops=[
434436
"https://images.justwatch.com/backdrop/8721510/s1920/the-matrix-2-reloaded.jpg",
@@ -778,6 +780,7 @@
778780
short_description="The human city of Zion defends itself against the massive invasion of the machines as Neo fights to end the war at another front while also opposing the rogue Agent Smith.",
779781
genres=["act", "trl", "scf"],
780782
imdb_id="tt0242653",
783+
tmdb_id='605',
781784
poster="https://images.justwatch.com/poster/179166803/s718/the-matrix-revolutions.jpg",
782785
backdrops=[
783786
"https://images.justwatch.com/backdrop/8721981/s1920/the-matrix-revolutions.jpg",

test/simplejustwatchapi/test_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
"runtime": 456,
166166
"shortDescription": "TV show 2 description",
167167
"genres": [{"shortName": "gen2"}, {"shortName": "gen3"}],
168-
"externalIds": {"imdbId": "imdbId1", "tmdbId": "tmdbId1"},
168+
"externalIds": {"imdbId": "imdbId2", "tmdbId": "tmdbId2"},
169169
"posterUrl": "/poster/url/2.jpg",
170170
"backdrops": [
171171
{"backdropUrl": "/back/drop/url/3.jpg"},

0 commit comments

Comments
 (0)