Skip to content

Commit

Permalink
add types to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Jun 7, 2024
1 parent f6fb60e commit d1366f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/refiners/test_tmdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import requests
from subliminal.refiners.tmdb import TMDBClient, refine
from subliminal.video import Episode, Movie
from vcr import VCR
from vcr import VCR # type: ignore[import-untyped]

vcr = VCR(
path_transformer=lambda path: path + '.yaml',
Expand Down Expand Up @@ -37,8 +37,8 @@ def test_apikey():
apikey = '000000000'
client = TMDBClient(headers={'X-Test': 'Value'})
client.apikey = apikey
assert 'api_key' in client.session.params
assert client.session.params['api_key'] == apikey
assert 'api_key' in client.session.params # type: ignore[operator]
assert client.session.params['api_key'] == apikey # type: ignore[index,call-overload]


@pytest.mark.integration()
Expand Down

0 comments on commit d1366f5

Please sign in to comment.