diff --git a/app/tests/core_tests/test_tag_substitutions.py b/app/tests/core_tests/test_tag_substitutions.py index 9d76d7328..3ae6208ee 100644 --- a/app/tests/core_tests/test_tag_substitutions.py +++ b/app/tests/core_tests/test_tag_substitutions.py @@ -1,3 +1,5 @@ +import textwrap + import pytest from django.utils.safestring import SafeString, mark_safe @@ -131,16 +133,13 @@ def test_no_change_with_no_tag_or_arg_match(content): assert s == content -EXPECTED_YOUTUBE_EMBED = """

- -
-

""" +EXPECTED_YOUTUBE_EMBED = textwrap.dedent( + """\ +

+ +
+

""" +) @pytest.mark.parametrize(