from ows_text_campaigns.utils.text import strip_html_tags def test_strip_html_tags() -> None: html = ( "

Hello! 😃👌🏿 ... " 'https://sony.com

' ) expected = "Hello! 😃👌🏿 ... https://sony.com" assert strip_html_tags(html) == expected