From 963273434207d89082a00a4e7435db4f697b566a Mon Sep 17 00:00:00 2001 From: lpm0073 Date: Sun, 28 Jan 2024 08:21:49 -0600 Subject: [PATCH] test: fix system_prompt type test --- .../lambda_openai_function/tests/test_custom_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/terraform/python/openai_api/lambda_openai_function/tests/test_custom_config.py b/api/terraform/python/openai_api/lambda_openai_function/tests/test_custom_config.py index e463177..9137bab 100644 --- a/api/terraform/python/openai_api/lambda_openai_function/tests/test_custom_config.py +++ b/api/terraform/python/openai_api/lambda_openai_function/tests/test_custom_config.py @@ -69,7 +69,7 @@ def test_system_prompt(self): ) self.assertIsInstance(system_prompt, SystemPrompt) self.assertIsInstance(system_prompt.system_prompt, str) - self.assertTrue(isinstance(system_prompt.to_json(), dict)) + self.assertTrue(isinstance(system_prompt.to_json(), str)) def test_system_prompt_invalid(self): """Test system_prompt."""