Added vote average

This commit is contained in:
markus 2021-11-10 15:38:28 +01:00 committed by Scott Wallace
parent 82a6c7d4f9
commit cbc96b425c
Signed by: scott
GPG key ID: AA742FDC5AFE2A72

View file

@ -34,7 +34,7 @@ class TestTmdbMethods(unittest.IsolatedAsyncioTestCase):
await movie.load_parameters() await movie.load_parameters()
await movie.search_title('Dune') await movie.search_title('Dune')
vote = movie.vote_average vote = movie.vote_average
self.assertEqual(vote, 7.8) self.assertEqual(vote, 8.0)
await movie.close_session() await movie.close_session()
async def test_vote(self): async def test_vote(self):