Skip to content

Commit

Permalink
line-too-long linting
Browse files Browse the repository at this point in the history
  • Loading branch information
StegSchreck committed Jul 30, 2019
1 parent ac18b16 commit 8db87dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ def setUp(self):
self.movie['tmdb'] = dict()
self.movie['tmdb']['id'] = '550'
self.movie['tmdb']['url'] = 'https://www.themoviedb.org/movie/550'
with open(os.path.join(TESTDATA_PATH, 'rottentomatoes', 'search_result.json'), encoding='UTF-8') as search_results:
with open(os.path.join(TESTDATA_PATH, 'rottentomatoes', 'search_result.json'),
encoding='UTF-8') as search_results:
self.search_results = json.loads(search_results.read())
with open(os.path.join(TESTDATA_PATH, 'rottentomatoes', 'search_result_tile.json'), encoding='UTF-8') as result_tile:
with open(os.path.join(TESTDATA_PATH, 'rottentomatoes', 'search_result_tile.json'),
encoding='UTF-8') as result_tile:
self.search_result_tile_list = [json.loads(result_tile.read())]

@patch('RatS.base.base_ratings_inserter.RatingsInserter.__init__')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class RottenTomatoesRatingsParserTest(TestCase):
def setUp(self):
if not os.path.exists(os.path.join(TESTDATA_PATH, 'exports')):
os.makedirs(os.path.join(TESTDATA_PATH, 'exports'))
with open(os.path.join(TESTDATA_PATH, 'rottentomatoes', 'my_ratings_last_page.json'), encoding='UTF-8') as my_ratings:
with open(os.path.join(TESTDATA_PATH, 'rottentomatoes', 'my_ratings_last_page.json'),
encoding='UTF-8') as my_ratings:
self.my_ratings = json.loads(my_ratings.read())

@patch('RatS.base.base_ratings_parser.RatingsParser.__init__')
Expand Down

0 comments on commit 8db87dd

Please sign in to comment.