File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
idp_common/agents/external_mcp Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ def create_external_mcp_agent(
6060 "cognito_username" ,
6161 "cognito_password" ,
6262 ]
63- missing_fields = [field for field in required_fields if field not in mcp_server_config ]
63+ missing_fields = [
64+ field for field in required_fields if field not in mcp_server_config
65+ ]
6466 if missing_fields :
6567 error_msg = f"MCP server config missing required fields: { missing_fields } "
6668 logger .error (error_msg )
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def test_tracker_initialization_disabled(self):
126126 assert not tracker .enabled
127127 assert tracker .db_logger is None
128128
129- @patch .dict ("os.environ" , {"ANALYTICS_TABLE " : "test-table" })
129+ @patch .dict ("os.environ" , {"AGENT_TABLE " : "test-table" })
130130 @patch ("idp_common.agents.common.dynamodb_logger.DynamoDBMessageLogger" )
131131 def test_tracker_initialization_enabled (self , mock_logger_class ):
132132 """Test tracker initialization when enabled."""
You can’t perform that action at this time.
0 commit comments