From 4cfd50f852a42f6aa9f3cc25235aa3a2db8b990c Mon Sep 17 00:00:00 2001 From: Zhengfei Wang Date: Fri, 8 Sep 2023 15:23:57 +0800 Subject: [PATCH] comment breaking test as DAG has default value --- .../chat-with-pdf/tests/chat_with_pdf_test.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/flows/chat/chat-with-pdf/tests/chat_with_pdf_test.py b/examples/flows/chat/chat-with-pdf/tests/chat_with_pdf_test.py index 735cc9675ba..740f0811314 100644 --- a/examples/flows/chat/chat-with-pdf/tests/chat_with_pdf_test.py +++ b/examples/flows/chat/chat-with-pdf/tests/chat_with_pdf_test.py @@ -70,15 +70,15 @@ def test_bulk_run_valid_mapping(self): details = self.pf.get_details(run) self.assertEqual(details.shape[0], 3) - def test_bulk_run_mapping_missing_one_column(self): - # in this case, run won't be created. - with self.assertRaises(ValidationException): - self.create_chat_run( - column_mapping={ - "question": "${data.question}", - "pdf_url": "${data.pdf_url}", - } - ) + # def test_bulk_run_mapping_missing_one_column(self): + # # in this case, run won't be created. + # with self.assertRaises(ValidationException): + # self.create_chat_run( + # column_mapping={ + # "question": "${data.question}", + # "pdf_url": "${data.pdf_url}", + # } + # ) def test_bulk_run_invalid_mapping(self): # in this case, run won't be created.