From 3214f4cade4fe8aeff3335d175effb9237575ed5 Mon Sep 17 00:00:00 2001 From: Maks Operlejn Date: Tue, 29 Oct 2024 16:56:11 +0100 Subject: [PATCH] Adjusted test to new to_text logic --- .../partition/html/test_html_to_ontology_parsing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_unstructured/partition/html/test_html_to_ontology_parsing.py b/test_unstructured/partition/html/test_html_to_ontology_parsing.py index c67431e022..677ff11569 100644 --- a/test_unstructured/partition/html/test_html_to_ontology_parsing.py +++ b/test_unstructured/partition/html/test_html_to_ontology_parsing.py @@ -607,4 +607,5 @@ def test_text_in_form_field_value(): assert len(page.children) == 1 form_field_value = page.children[0] - assert form_field_value.text == "Random Input Value" + assert form_field_value.text == "" + assert form_field_value.to_text() == "Random Input Value"