From 0dff731b5032939095f7674083c1766cd26bd37a Mon Sep 17 00:00:00 2001 From: Fahad Date: Sun, 22 Jun 2025 13:38:41 +0400 Subject: [PATCH] Lint --- simulator_tests/test_consensus_conversation.py | 6 ++++-- simulator_tests/test_consensus_three_models.py | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/simulator_tests/test_consensus_conversation.py b/simulator_tests/test_consensus_conversation.py index 44eba24..89563f8 100644 --- a/simulator_tests/test_consensus_conversation.py +++ b/simulator_tests/test_consensus_conversation.py @@ -122,7 +122,9 @@ class TestConsensusConversation(ConversationBaseTest): # Check for step 1 status (Claude analysis + first model consultation) expected_status = "analysis_and_first_model_consulted" if consensus_data.get("status") != expected_status: - self.logger.error(f"Consensus step 1 failed with status: {consensus_data.get('status')}, expected: {expected_status}") + self.logger.error( + f"Consensus step 1 failed with status: {consensus_data.get('status')}, expected: {expected_status}" + ) if "error" in consensus_data: self.logger.error(f"Error: {consensus_data['error']}") return False @@ -178,7 +180,7 @@ class TestConsensusConversation(ConversationBaseTest): # Phase 4: Verify response structure self.logger.info("Phase 4: Verifying consensus response structure") - # Check that we have model response from step 1 + # Check that we have model response from step 1 model_response = consensus_data.get("model_response") if not model_response: self.logger.error("Consensus step 1 response missing model_response") diff --git a/simulator_tests/test_consensus_three_models.py b/simulator_tests/test_consensus_three_models.py index 67b24ed..f14c8b9 100644 --- a/simulator_tests/test_consensus_three_models.py +++ b/simulator_tests/test_consensus_three_models.py @@ -75,7 +75,9 @@ class TestConsensusThreeModels(BaseSimulatorTest): # Check for step 1 status (Claude analysis + first model consultation) expected_status = "analysis_and_first_model_consulted" if consensus_data["status"] != expected_status: - self.logger.error(f"Three-model consensus step 1 failed with status: {consensus_data['status']}, expected: {expected_status}") + self.logger.error( + f"Three-model consensus step 1 failed with status: {consensus_data['status']}, expected: {expected_status}" + ) # Log additional error details for debugging if "error" in consensus_data: @@ -89,7 +91,7 @@ class TestConsensusThreeModels(BaseSimulatorTest): return False - # Check that we have model response from step 1 + # Check that we have model response from step 1 model_response = consensus_data.get("model_response") if not model_response: self.logger.error("Three-model consensus step 1 response missing model_response")