Cette révision appartient à :
@@ -0,0 +1,8 @@
|
||||
import pytest
|
||||
from mail2sms.text_utils import html_to_sms_text
|
||||
|
||||
|
||||
def test_html_cleaning():
|
||||
html = "<h1>Hello</h1><p>World <strong>123</strong></p>"
|
||||
result = html_to_sms_text(html)
|
||||
assert result == "Hello World 123"
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur