Skip to content

Commit

Permalink
Fix pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Jan 1, 2021
1 parent ab32aa0 commit 4f04b94
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_event_cache(self, event_fetch, cache_set, cache_get):
# Test that first time data is fetched database is queried
cache_get.assert_called_with(expected_key)
event_fetch.assert_called_with(mbid, includes=['artist-rels', 'place-rels',
'series-rels', 'url-rels', 'release-group-rels'],
'series-rels', 'url-rels', 'release-group-rels'],
unknown_entities_for_missing=True)
cache_set.assert_called_with(key=expected_key, val=event, time=DEFAULT_CACHE_EXPIRATION)

Expand Down Expand Up @@ -137,7 +137,7 @@ def test_place_cache(self, place_fetch, cache_set, cache_get):
# Test that first time data is fetched database is queried
cache_get.assert_called_with(expected_key)
place_fetch.assert_called_with(mbid, includes=['artist-rels', 'place-rels',
'release-group-rels', 'url-rels'],
'release-group-rels', 'url-rels'],
unknown_entities_for_missing=True)
cache_set.assert_called_with(key=expected_key, val=place, time=DEFAULT_CACHE_EXPIRATION)

Expand Down Expand Up @@ -262,8 +262,8 @@ def test_release_group_cache(self, release_group_fetch, cache_set, cache_get):

# Test that first time data is fetched database is queried
cache_get.assert_called_with(expected_key)
release_group_fetch.assert_called_with(mbid, includes=['artists', 'releases',
'release-group-rels', 'url-rels', 'tags'],
release_group_fetch.assert_called_with(mbid,
includes=['artists', 'releases', 'release-group-rels', 'url-rels', 'tags'],
unknown_entities_for_missing=True)
cache_set.assert_called_with(key=expected_key, val=release_group, time=DEFAULT_CACHE_EXPIRATION)

Expand Down

0 comments on commit 4f04b94

Please sign in to comment.