87 lines
6.4 KiB
Plaintext
87 lines
6.4 KiB
Plaintext
F.FFFFF.
|
|
======================================================================
|
|
FAIL: test_completed_exchange_does_not_trigger_on_startup_or_repoll (test_self_reply_loop.ArchiveFeedbackTest.test_completed_exchange_does_not_trigger_on_startup_or_repoll)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "C:\kefu\wechat_rpa\test_self_reply_loop.py", line 28, in test_completed_exchange_does_not_trigger_on_startup_or_repoll
|
|
self.bot.enqueue_detected.assert_not_called()
|
|
File "C:\Users\isard\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\Lib\unittest\mock.py", line 910, in assert_not_called
|
|
raise AssertionError(msg)
|
|
AssertionError: Expected 'enqueue_detected' to not have been called. Called 1 times.
|
|
Calls: [call(fp_hex='aa', dedup_key='aa:1789368065.8712826', detected_by='engine_b', chat_text='customer question', display_name='', last_lines=[])].
|
|
|
|
======================================================================
|
|
FAIL: test_meta_records_after_reply_do_not_revive_old_customer_turn (test_self_reply_loop.ArchiveFeedbackTest.test_meta_records_after_reply_do_not_revive_old_customer_turn)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "C:\kefu\wechat_rpa\test_self_reply_loop.py", line 55, in test_meta_records_after_reply_do_not_revive_old_customer_turn
|
|
self.bot.enqueue_detected.assert_not_called()
|
|
File "C:\Users\isard\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\Lib\unittest\mock.py", line 910, in assert_not_called
|
|
raise AssertionError(msg)
|
|
AssertionError: Expected 'enqueue_detected' to not have been called. Called 1 times.
|
|
Calls: [call(fp_hex='aa', dedup_key='aa:1789368065.9082747', detected_by='engine_b', chat_text='question', display_name='', last_lines=[])].
|
|
|
|
======================================================================
|
|
FAIL: test_new_customer_record_with_same_timestamp_as_answer_is_processed (test_self_reply_loop.ArchiveFeedbackTest.test_new_customer_record_with_same_timestamp_as_answer_is_processed)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "C:\kefu\wechat_rpa\test_self_reply_loop.py", line 65, in test_new_customer_record_with_same_timestamp_as_answer_is_processed
|
|
self.bot.enqueue_detected.assert_called_once()
|
|
File "C:\Users\isard\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\Lib\unittest\mock.py", line 928, in assert_called_once
|
|
raise AssertionError(msg)
|
|
AssertionError: Expected 'enqueue_detected' to have been called once. Called 0 times.
|
|
|
|
======================================================================
|
|
FAIL: test_saving_our_reply_does_not_create_another_customer_event (test_self_reply_loop.ArchiveFeedbackTest.test_saving_our_reply_does_not_create_another_customer_event)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "C:\kefu\wechat_rpa\test_self_reply_loop.py", line 39, in test_saving_our_reply_does_not_create_another_customer_event
|
|
self.bot.enqueue_detected.assert_not_called()
|
|
File "C:\Users\isard\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\Lib\unittest\mock.py", line 910, in assert_not_called
|
|
raise AssertionError(msg)
|
|
AssertionError: Expected 'enqueue_detected' to not have been called. Called 8 times.
|
|
Calls: [call(fp_hex='aa', dedup_key='aa:1789368065.9472804', detected_by='engine_b', chat_text='customer question', display_name='', last_lines=[]),
|
|
call(fp_hex='aa', dedup_key='aa:1789368065.9562745', detected_by='engine_b', chat_text='customer question', display_name='', last_lines=[]),
|
|
call(fp_hex='aa', dedup_key='aa:1789368065.963279', detected_by='engine_b', chat_text='customer question', display_name='', last_lines=[]),
|
|
call(fp_hex='aa', dedup_key='aa:1789368065.9732893', detected_by='engine_b', chat_text='customer question', display_name='', last_lines=[]),
|
|
call(fp_hex='aa', dedup_key='aa:1789368065.981285', detected_by='engine_b', chat_text='customer question', display_name='', last_lines=[]),
|
|
call(fp_hex='aa', dedup_key='aa:1789368065.9904265', detected_by='engine_b', chat_text='customer question', display_name='', last_lines=[]),
|
|
call(fp_hex='aa', dedup_key='aa:1789368065.9994228', detected_by='engine_b', chat_text='customer question', display_name='', last_lines=[]),
|
|
call(fp_hex='aa', dedup_key='aa:1789368066.0084178', detected_by='engine_b', chat_text='customer question', display_name='', last_lines=[])].
|
|
|
|
======================================================================
|
|
FAIL: test_known_staff_tail_is_not_answered_even_when_pixel_direction_is_unknown (test_self_reply_loop.OwnMessageGuardTest.test_known_staff_tail_is_not_answered_even_when_pixel_direction_is_unknown)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "C:\kefu\wechat_rpa\test_self_reply_loop.py", line 99, in test_known_staff_tail_is_not_answered_even_when_pixel_direction_is_unknown
|
|
self.assertTrue(bot._nothing_left_to_answer(bot._active_session_fp, text))
|
|
AssertionError: False is not true
|
|
|
|
======================================================================
|
|
FAIL: test_unknown_staff_name_is_not_positive_customer_proof (test_self_reply_loop.OwnMessageGuardTest.test_unknown_staff_name_is_not_positive_customer_proof)
|
|
----------------------------------------------------------------------
|
|
Traceback (most recent call last):
|
|
File "C:\kefu\wechat_rpa\test_self_reply_loop.py", line 84, in test_unknown_staff_name_is_not_positive_customer_proof
|
|
self.assertFalse(bot._clipboard_tail_is_explicit_customer_text(text))
|
|
AssertionError: True is not false
|
|
|
|
----------------------------------------------------------------------
|
|
Ran 8 tests in 0.295s
|
|
|
|
FAILED (failures=6)
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[引擎B] 已登记新消息 → aa
|
|
[会话守护] 底部气泡看似我方收尾,但文字确认最后一条是客户消息,继续回复。
|