Removed HTML unit test

This commit is contained in:
lomion 2021-11-11 20:13:28 +01:00
parent 88a65d3272
commit a53cb1a56e

View file

@ -164,17 +164,6 @@ class TestTmdbMethods(unittest.IsolatedAsyncioTestCase):
self.assertEqual(list.list[2]['id'], results['results'][2]['id']) self.assertEqual(list.list[2]['id'], results['results'][2]['id'])
await list.close_session() await list.close_session()
async def test_movie_popular_html(self):
results = await apiRequests('/movie/popular')
list = MoviePopular()
await list.load_parameters()
await list.query()
test_result = escape(results['results'][-1]['title'])
tested = list.getListHtml()
tested = tested[(len(results['results'][-1]['title']) + 8) * -1:]
self.assertEqual(tested, f"""{test_result}</a></p>""")
await list.close_session()
async def test_movie_popular_text(self): async def test_movie_popular_text(self):
results = await apiRequests('/movie/popular') results = await apiRequests('/movie/popular')
list = MoviePopular() list = MoviePopular()