Fixed test for name without y:
This commit is contained in:
parent
80782de641
commit
e62000098d
|
@ -112,9 +112,10 @@ class TestTmdbMethods(unittest.IsolatedAsyncioTestCase):
|
||||||
self.assertEqual(size, None)
|
self.assertEqual(size, None)
|
||||||
await movie.close_session()
|
await movie.close_session()
|
||||||
|
|
||||||
def test_year_no_y(self):
|
async def test_year_no_y(self):
|
||||||
movie = Movie()
|
movie = Movie()
|
||||||
id = movie.search_title('infinite 2021')
|
await movie.load_parameters()
|
||||||
|
id = await movie.search_title('infinite 2021')
|
||||||
self.assertEqual(id, None)
|
self.assertEqual(id, None)
|
||||||
self.assertEqual(movie.valid, False)
|
self.assertEqual(movie.valid, False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue