From a53cb1a56ef2be83722c925d4acdc683d88c71b4 Mon Sep 17 00:00:00 2001 From: lomion Date: Thu, 11 Nov 2021 20:13:28 +0100 Subject: [PATCH] Removed HTML unit test --- test_tmdb.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test_tmdb.py b/test_tmdb.py index d7eefda..2f58489 100644 --- a/test_tmdb.py +++ b/test_tmdb.py @@ -164,17 +164,6 @@ class TestTmdbMethods(unittest.IsolatedAsyncioTestCase): self.assertEqual(list.list[2]['id'], results['results'][2]['id']) 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}

""") - await list.close_session() - async def test_movie_popular_text(self): results = await apiRequests('/movie/popular') list = MoviePopular()