From 95c7b07c20693d8f5f7853743a17f13c8334fb3c Mon Sep 17 00:00:00 2001 From: sabaimran Date: Mon, 31 Jul 2023 20:55:19 -0700 Subject: [PATCH] Make the fake message longer --- tests/test_gpt4all_chat_director.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_gpt4all_chat_director.py b/tests/test_gpt4all_chat_director.py index 8b27e028..fe009708 100644 --- a/tests/test_gpt4all_chat_director.py +++ b/tests/test_gpt4all_chat_director.py @@ -273,7 +273,7 @@ def test_answer_in_chat_history_beyond_lookback_window(client_offline_chat): @pytest.mark.chatquality def test_answer_chat_history_very_long(client_offline_chat): # Arrange - message_list = [(fake.paragraph(), fake.sentence(), []) for _ in range(100)] + message_list = [(" ".join([fake.paragraph() for _ in range(50)]), fake.sentence(), []) for _ in range(10)] populate_chat_history(message_list)