diff --git a/test_tmdb.py b/test_tmdb.py index 2b9f5d5..f037b8e 100644 --- a/test_tmdb.py +++ b/test_tmdb.py @@ -41,7 +41,7 @@ class TestTmdbMethods(unittest.TestCase): tmdb = TmdbBot("","" ,"" ,"" ,"" ,"" ,"" ,"" ,"" ) movie.query_details('550') message = tmdb.construct_html_message(movie, overview_length = 10) - self.assertEqual(message, """

Fight Club

+ self.assertEqual(message, """

Fight Club

Ein Yuppie [...]

Acting: Edward Norton, Brad Pitt, Helena Bonham Carter

taken from www.themoviedb.org

""") diff --git a/tmdb/tmdb.py b/tmdb/tmdb.py index 2aefa0f..b07698c 100644 --- a/tmdb/tmdb.py +++ b/tmdb/tmdb.py @@ -56,7 +56,7 @@ class TmdbBot(Plugin): for actor in movie.cast[:cast_length]: cast+= f'{actor}, ' cast = cast[:-2] - html_message = f"""

{escape(movie.title)}

+ html_message = f"""

{escape(movie.title)}

{escape(movie.overview)[:overview_length]}{three_dotts}

{cast}

taken from www.themoviedb.org

"""