|
15 | 15 | class TestKiroCLIIntegration(unittest.TestCase): |
16 | 16 | """Test suite for Kiro CLI argument integration.""" |
17 | 17 |
|
18 | | - @patch('hatch.cli_hatch.MCPHostConfigurationManager') |
| 18 | + @patch('hatch.cli.cli_mcp.MCPHostConfigurationManager') |
19 | 19 | @regression_test |
20 | 20 | def test_kiro_cli_with_disabled_flag(self, mock_manager_class): |
21 | 21 | """Test CLI with --disabled flag for Kiro.""" |
@@ -46,7 +46,7 @@ def test_kiro_cli_with_disabled_flag(self, mock_manager_class): |
46 | 46 | # Verify Kiro-specific field was set |
47 | 47 | self.assertTrue(server_config.disabled) |
48 | 48 |
|
49 | | - @patch('hatch.cli_hatch.MCPHostConfigurationManager') |
| 49 | + @patch('hatch.cli.cli_mcp.MCPHostConfigurationManager') |
50 | 50 | @regression_test |
51 | 51 | def test_kiro_cli_with_auto_approve_tools(self, mock_manager_class): |
52 | 52 | """Test CLI with --auto-approve-tools for Kiro.""" |
@@ -74,7 +74,7 @@ def test_kiro_cli_with_auto_approve_tools(self, mock_manager_class): |
74 | 74 | self.assertEqual(len(server_config.autoApprove), 2) |
75 | 75 | self.assertIn('codebase-retrieval', server_config.autoApprove) |
76 | 76 |
|
77 | | - @patch('hatch.cli_hatch.MCPHostConfigurationManager') |
| 77 | + @patch('hatch.cli.cli_mcp.MCPHostConfigurationManager') |
78 | 78 | @regression_test |
79 | 79 | def test_kiro_cli_with_disable_tools(self, mock_manager_class): |
80 | 80 | """Test CLI with --disable-tools for Kiro.""" |
@@ -102,7 +102,7 @@ def test_kiro_cli_with_disable_tools(self, mock_manager_class): |
102 | 102 | self.assertEqual(len(server_config.disabledTools), 2) |
103 | 103 | self.assertIn('dangerous-tool', server_config.disabledTools) |
104 | 104 |
|
105 | | - @patch('hatch.cli_hatch.MCPHostConfigurationManager') |
| 105 | + @patch('hatch.cli.cli_mcp.MCPHostConfigurationManager') |
106 | 106 | @regression_test |
107 | 107 | def test_kiro_cli_combined_arguments(self, mock_manager_class): |
108 | 108 | """Test CLI with multiple Kiro-specific arguments combined.""" |
|
0 commit comments