test(test_document_extractor_node): Fix tests

Signed-off-by: -LAN- <laipz8200@outlook.com>
pull/20269/head
-LAN- 1 year ago
parent 20bd51beaa
commit 3b71f7a198
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF

@ -150,7 +150,7 @@ def test_extract_text_from_plain_text_non_utf8():
temp_file.write(non_utf8_content) temp_file.write(non_utf8_content)
temp_file.seek(0) temp_file.seek(0)
text = _extract_text_from_plain_text(temp_file.read()) text = _extract_text_from_plain_text(temp_file.read())
assert text == "Hello, world." assert text == "Hello, world©."
@patch("pypdfium2.PdfDocument") @patch("pypdfium2.PdfDocument")

Loading…
Cancel
Save