Example #1
0
 def test_conversation_time(self, mock_mongo_client):
     conversation_time, message = HistoryProcessor.conversation_time("tests")
     assert conversation_time == []
     assert message
Example #2
0
 def test_conversation_time_error(self, mock_db_timeout):
     conversation_time, message = HistoryProcessor.conversation_time("tests")
     assert not conversation_time
     assert message