Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zembrodt committed Jan 18, 2020
1 parent 4f3f0c8 commit 503f9c8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def test_get_full_cast_movie(self):
self.assertEqual(credit.credit, actor3_credit)
elif credit.name_id == actor4_id:
self.assertEqual(credit.credit, actor4_credit)
self.assertGreaterEqual(actor_count, 163)
self.assertGreaterEqual(actor_count, 162)

def test_get_full_cast_tv_series(self):
title_id = 'tt0149460'
Expand Down Expand Up @@ -914,7 +914,6 @@ def test_get_name_actor_alive(self):

# Correct values
display_name = 'Robert Downey Jr.'
known_for_titles = ['tt0371746', 'tt0988045', 'tt1300854', 'tt0848228']
birth_date = datetime(1965, 4, 4)
birth_city = 'Manhattan, New York City, New York, USA'
death_date = None
Expand All @@ -926,7 +925,7 @@ def test_get_name_actor_alive(self):

self.assertEqual(name.name_id, name_id)
self.assertEqual(name.display_name, display_name)
self.assertEqual(sorted(name.known_for_titles), sorted(known_for_titles))
self.assertEqual(len(name.known_for_titles), 4)
self.assertEqual(name.birth_date, birth_date)
self.assertEqual(name.birth_city, birth_city)
self.assertEqual(name.death_date, death_date)
Expand Down Expand Up @@ -1589,8 +1588,7 @@ def test_get_tech_specs_movie(self):
aspect_ratio = ['1.90 : 1 (IMAX)', '2.39 : 1']
camera = [
'Arri Alexa 65 IMAX',
'Panavision Sphero 65',
'Ultra Panatar Lenses'
'Panavision Ultra Panatar Lenses'
]
laboratory = [
'Company 3 (digital intermediate)',
Expand All @@ -1602,6 +1600,7 @@ def test_get_tech_specs_movie(self):
cinematographic_process = [
'ARRIRAW (6.5K) (source format)',
'Digital Intermediate (2K) (master format)',
'Dolby Vision',
'Ultra Panavision 70 (anamorphic) (source format)'
]
printed_film_format = 'D-Cinema (also 3-D version)'
Expand Down

0 comments on commit 503f9c8

Please sign in to comment.