We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bbdd6d commit a1a032aCopy full SHA for a1a032a
test_places_replication.py
@@ -12,8 +12,8 @@ def setUp(self):
12
def test_generate_conversation(self):
13
conversation = self.conversation_generator.generate_conversation(min_turns=10, start_conversation=True)
14
self.assertEqual(len(conversation), 10)
15
- self.assertEqual(conversation[0][1], self.agent_list[0])
16
- self.assertEqual(conversation[0][2], self.conversation_generator.conversation_starters[0])
+ self.assertIn(conversation[0][1], [agent.name for agent in self.agent_list])
+ self.assertIn(conversation[0][2], [conversation_start for conversation_start in self.conversation_generator.conversation_starters])
17
18
def test_print_chat_history(self):
19
# Assuming conversation history is not empty
0 commit comments