adaptai / projects /oui-max /tests /test_research.py
ADAPT-Chase's picture
Add files using upload-large-folder tool
fbf3c28 verified
from tools.research import _strip_html
def test_strip_html_basic():
assert _strip_html("<h1>Hello</h1>") == "Hello"
def test_strip_html_with_tags_and_text():
assert _strip_html("<div><p>Test</p></div>") == "Test"
def test_strip_html_empty():
assert _strip_html("") == ""
def test_strip_html_no_tags():
assert _strip_html("Just text") == "Just text"