From c905510f305432a04eac32474753fca2d992396f Mon Sep 17 00:00:00 2001 From: Leon Luithlen Date: Thu, 14 Nov 2024 11:44:18 +0100 Subject: [PATCH] Change test_input order --- .../tests/unit/processing/chunks/test_input.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cognee/tests/unit/processing/chunks/test_input.py b/cognee/tests/unit/processing/chunks/test_input.py index 4afbab70d..21a0e3165 100644 --- a/cognee/tests/unit/processing/chunks/test_input.py +++ b/cognee/tests/unit/processing/chunks/test_input.py @@ -1,6 +1,15 @@ import pytest INPUT_TEXTS = { + "empty": "", + "single_char": "x", + "whitespace": " \n\t \r\n ", + "unicode_special": "Hello 👋 مرحبا שָׁלוֹם", + "mixed_endings": "line1\r\nline2\nline3\r\nline4", + "many_newlines": "\n\n\n\ntext\n\n\n\n", + "html_mixed": "

Hello

\nPlain text\n
World
", + "urls_emails": "Visit https://example.com or email user@example.com", + "elipses": "Hello...How are you…", "english_lists": """Let me think through the key attributes that would be important to test in a text chunking system. Here are the essential attributes to test: @@ -272,13 +281,4 @@ Vows made in pain, as violent and void. For never can true reconcilement grow Where wounds of deadly hate have peirc'd so deep: Which would but lead me to a worse relapse [ 100 ]""", - "empty": "", - "single_char": "x", - "whitespace": " \n\t \r\n ", - "unicode_special": "Hello 👋 مرحبا שָׁלוֹם", - "mixed_endings": "line1\r\nline2\nline3\r\nline4", - "many_newlines": "\n\n\n\ntext\n\n\n\n", - "html_mixed": "

Hello

\nPlain text\n
World
", - "urls_emails": "Visit https://example.com or email user@example.com", - "elipses": "Hello...How are you…", }