codemie-test-harness 0.1.179__py3-none-any.whl → 0.1.180__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of codemie-test-harness might be problematic. Click here for more details.
- codemie_test_harness/cli/cli.py +2 -0
- codemie_test_harness/cli/commands/marks_cmd.py +39 -0
- codemie_test_harness/cli/marks_utils.py +338 -0
- codemie_test_harness/cli/runner.py +40 -0
- codemie_test_harness/tests/assistant/datasource/test_code_datasource.py +3 -3
- codemie_test_harness/tests/assistant/datasource/test_confluence_datasource.py +3 -3
- codemie_test_harness/tests/assistant/datasource/test_file_indexing.py +5 -5
- codemie_test_harness/tests/assistant/datasource/test_google_datasource.py +3 -3
- codemie_test_harness/tests/assistant/datasource/test_jira_datasource.py +3 -3
- codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool.py +8 -8
- codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_kit.py +8 -8
- codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_with_datasource.py +8 -8
- codemie_test_harness/tests/assistant/test_assistants.py +22 -22
- codemie_test_harness/tests/assistant/tools/access_management/test_keycloak_tool.py +1 -1
- codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_test_plan_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_wiki_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_work_item_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/cloud/test_cloud_tools.py +1 -1
- codemie_test_harness/tests/assistant/tools/codebase/test_codebase_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/datamanagement/test_assistant_with_data_management_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/filemanagement/test_assistant_with_file_management_tools.py +4 -4
- codemie_test_harness/tests/assistant/tools/git/test_assistant_with_git_tools.py +7 -7
- codemie_test_harness/tests/assistant/tools/mcp/test_cli_mcp_server.py +2 -2
- codemie_test_harness/tests/assistant/tools/mcp/test_mcp_servers.py +2 -2
- codemie_test_harness/tests/assistant/tools/notification/test_assistant_notification_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/openapi/test_assistant_with_open_api_tools.py +1 -1
- codemie_test_harness/tests/assistant/tools/plugin/test_assistant_with_development_plugin.py +2 -2
- codemie_test_harness/tests/assistant/tools/plugin/test_assistant_with_plugin_and_mcp_servers.py +2 -2
- codemie_test_harness/tests/assistant/tools/plugin/test_single_assistant_dual_time_plugins.py +1 -1
- codemie_test_harness/tests/assistant/tools/project_management/test_assistant_pm_tools.py +6 -6
- codemie_test_harness/tests/assistant/tools/report_portal/test_assistant_report_portal_tools.py +1 -1
- codemie_test_harness/tests/assistant/tools/research/test_assistant_research_tools.py +2 -2
- codemie_test_harness/tests/assistant/tools/servicenow/test_servicenow_tools.py +1 -1
- codemie_test_harness/tests/assistant/tools/vcs/test_assistant_with_vcs_tools.py +1 -1
- codemie_test_harness/tests/conversations/test_conversations_endpoints.py +5 -5
- codemie_test_harness/tests/e2e/test_e2e.py +6 -6
- codemie_test_harness/tests/integrations/project/test_default_integrations.py +14 -14
- codemie_test_harness/tests/integrations/project/test_project_integrations.py +9 -9
- codemie_test_harness/tests/integrations/user/test_default_integrations.py +14 -14
- codemie_test_harness/tests/integrations/user/test_user_integrations.py +12 -12
- codemie_test_harness/tests/llm/assistants/test_lite_llm.py +2 -2
- codemie_test_harness/tests/llm/assistants/test_llm.py +3 -3
- codemie_test_harness/tests/providers/test_providers_endpoints.py +11 -11
- codemie_test_harness/tests/search/test_search_assistant.py +1 -1
- codemie_test_harness/tests/search/test_search_datasource.py +5 -5
- codemie_test_harness/tests/search/test_search_integration.py +2 -2
- codemie_test_harness/tests/search/test_search_workflow.py +1 -1
- codemie_test_harness/tests/service/test_assistant_service.py +1 -1
- codemie_test_harness/tests/test_data/codebase_tools_test_data.py +11 -5
- codemie_test_harness/tests/ui/assistants/test_create_assistant.py +11 -11
- codemie_test_harness/tests/ui/datasource/test_create_datasource.py +7 -7
- codemie_test_harness/tests/ui/datasource/test_datasource_page.py +3 -3
- codemie_test_harness/tests/ui/datasource/test_edit_datasource.py +5 -5
- codemie_test_harness/tests/ui/datasource/test_view_datasource.py +5 -5
- codemie_test_harness/tests/ui/integrations/test_create_integration.py +9 -9
- codemie_test_harness/tests/ui/workflows/test_create_workflow.py +12 -12
- codemie_test_harness/tests/ui/workflows/test_edit_workflow.py +15 -15
- codemie_test_harness/tests/ui/workflows/test_workflow_details.py +19 -19
- codemie_test_harness/tests/ui/workflows/test_workflow_executions_page.py +36 -36
- codemie_test_harness/tests/ui/workflows/test_workflow_templates.py +8 -8
- codemie_test_harness/tests/ui/workflows/test_workflows.py +8 -8
- codemie_test_harness/tests/workflow/assistant_tools/access_management/test_workflow_with_assistant_with_keycloak_tool.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_test_plan_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_wiki_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_work_item_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/cloud/test_workflow_with_assistant_cloud_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/codebase/test_worfklow_with_assistant_codebase_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/data_management/test_workflow_with_assistant_with_data_management_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool.py +8 -8
- codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +8 -8
- codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +8 -8
- codemie_test_harness/tests/workflow/assistant_tools/file_management/test_workflow_with_assistant_with_file_management_tools.py +5 -5
- codemie_test_harness/tests/workflow/assistant_tools/git/test_workflow_with_assistant_git_tools.py +7 -7
- codemie_test_harness/tests/workflow/assistant_tools/mcp/test_workflow_with_assistant_with_mcp_server.py +3 -3
- codemie_test_harness/tests/workflow/assistant_tools/notification/test_workflow_with_assistant_notification_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/open_api/test_workflow_with_assistant_with_open_api_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_development_plugin.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_plugin_and_mcp_servers.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/project_management/test_workflow_with_assistant_pm_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/report_portal/test_workflow_with_assistant_with_report_portal_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/research/test_workflow_with_assistant_research_tools.py +2 -2
- codemie_test_harness/tests/workflow/assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +1 -1
- codemie_test_harness/tests/workflow/assistant_tools/vcs/workflow_with_assistant_vcs_tools.py +1 -1
- codemie_test_harness/tests/workflow/config_validation/test_config_validation.py +1 -1
- codemie_test_harness/tests/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool.py +8 -8
- codemie_test_harness/tests/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool_kit.py +8 -8
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_access_management_tool.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_test_plan_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_wiki_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_work_item_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_cloud_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_codebase_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_data_management_tools_elastic.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_data_management_tools_sql.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_file_management_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_notification_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_open_api_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_plugin_tools.py +4 -4
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_project_management_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_report_portal_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_research_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_servicenow_tools.py +3 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_vcs_tools.py +3 -3
- codemie_test_harness/tests/workflow/test_workflows.py +1 -1
- codemie_test_harness/tests/workflow/virtual_assistant_tools/access_management/test_workflow_with_keycloak_tool.py +1 -1
- codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_test_plan_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_wiki_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_work_item_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py +4 -4
- codemie_test_harness/tests/workflow/virtual_assistant_tools/codebase/test_workflow_with_codebase_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/data_management/test_workflow_with_data_management_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool.py +8 -8
- codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +8 -8
- codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +8 -8
- codemie_test_harness/tests/workflow/virtual_assistant_tools/file_management/test_workflow_with_file_management_tools.py +5 -5
- codemie_test_harness/tests/workflow/virtual_assistant_tools/git/test_workflow_with_git_tools.py +7 -7
- codemie_test_harness/tests/workflow/virtual_assistant_tools/mcp/test_workflow_with_mcp_server.py +3 -3
- codemie_test_harness/tests/workflow/virtual_assistant_tools/notification/test_workflow_with_notification_tools.py +4 -4
- codemie_test_harness/tests/workflow/virtual_assistant_tools/open_api/test_workflow_with_open_api_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/plugin/test_workflow_with_development_plugin.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/plugin/test_workflow_with_plugin_and_mcp_servers.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/project_management/test_workflow_with_project_management_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/report_portal/test_workflow_with_report_portal_tool.py +1 -1
- codemie_test_harness/tests/workflow/virtual_assistant_tools/research/test_workflow_with_research_tools.py +2 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +1 -1
- codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py +1 -1
- {codemie_test_harness-0.1.179.dist-info → codemie_test_harness-0.1.180.dist-info}/METADATA +8 -8
- {codemie_test_harness-0.1.179.dist-info → codemie_test_harness-0.1.180.dist-info}/RECORD +130 -128
- {codemie_test_harness-0.1.179.dist-info → codemie_test_harness-0.1.180.dist-info}/WHEEL +0 -0
- {codemie_test_harness-0.1.179.dist-info → codemie_test_harness-0.1.180.dist-info}/entry_points.txt +0 -0
|
@@ -24,8 +24,8 @@ git_tool_answer = list_branches_set_active_branch_test_data[0][3]
|
|
|
24
24
|
@pytest.mark.default_integration
|
|
25
25
|
@pytest.mark.datasource
|
|
26
26
|
@pytest.mark.not_for_parallel_run
|
|
27
|
-
@pytest.mark.
|
|
28
|
-
@pytest.mark.
|
|
27
|
+
@pytest.mark.api
|
|
28
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
29
29
|
@pytest.mark.parametrize(
|
|
30
30
|
"user_integration, is_global, project_integration",
|
|
31
31
|
integrations,
|
|
@@ -104,8 +104,8 @@ def test_assistant_in_workflow_should_use_user_integration_by_default(
|
|
|
104
104
|
@pytest.mark.default_integration
|
|
105
105
|
@pytest.mark.datasource
|
|
106
106
|
@pytest.mark.not_for_parallel_run
|
|
107
|
-
@pytest.mark.
|
|
108
|
-
@pytest.mark.
|
|
107
|
+
@pytest.mark.api
|
|
108
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
109
109
|
def test_assistant_in_workflow_with_global_and_project_integration(
|
|
110
110
|
datasource_utils,
|
|
111
111
|
default_embedding_llm,
|
|
@@ -170,8 +170,8 @@ def test_assistant_in_workflow_with_global_and_project_integration(
|
|
|
170
170
|
@pytest.mark.default_integration
|
|
171
171
|
@pytest.mark.datasource
|
|
172
172
|
@pytest.mark.not_for_parallel_run
|
|
173
|
-
@pytest.mark.
|
|
174
|
-
@pytest.mark.
|
|
173
|
+
@pytest.mark.api
|
|
174
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
175
175
|
def test_assistant_in_workflow_with_project_integration_only(
|
|
176
176
|
datasource_utils,
|
|
177
177
|
default_embedding_llm,
|
|
@@ -223,7 +223,7 @@ def test_assistant_in_workflow_with_project_integration_only(
|
|
|
223
223
|
@pytest.mark.default_integration
|
|
224
224
|
@pytest.mark.datasource
|
|
225
225
|
@pytest.mark.not_for_parallel_run
|
|
226
|
-
@pytest.mark.
|
|
226
|
+
@pytest.mark.api
|
|
227
227
|
def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
228
228
|
assistant,
|
|
229
229
|
assistant_utils,
|
|
@@ -288,7 +288,7 @@ def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
|
288
288
|
@pytest.mark.default_integration
|
|
289
289
|
@pytest.mark.datasource
|
|
290
290
|
@pytest.mark.not_for_parallel_run
|
|
291
|
-
@pytest.mark.
|
|
291
|
+
@pytest.mark.api
|
|
292
292
|
def test_assistant_in_workflow_with_project_valid_and_user_invalid_integration(
|
|
293
293
|
assistant,
|
|
294
294
|
assistant_utils,
|
|
@@ -22,7 +22,7 @@ from codemie_test_harness.tests.utils.env_resolver import EnvironmentResolver
|
|
|
22
22
|
@pytest.mark.workflow
|
|
23
23
|
@pytest.mark.workflow_with_assistant
|
|
24
24
|
@pytest.mark.file_management
|
|
25
|
-
@pytest.mark.
|
|
25
|
+
@pytest.mark.api
|
|
26
26
|
@pytest.mark.parametrize(
|
|
27
27
|
"tool_name, prompt, expected_response",
|
|
28
28
|
file_management_tools_test_data,
|
|
@@ -49,7 +49,7 @@ def test_workflow_with_assistant_with_file_management_tools(
|
|
|
49
49
|
@pytest.mark.workflow
|
|
50
50
|
@pytest.mark.workflow_with_assistant
|
|
51
51
|
@pytest.mark.file_management
|
|
52
|
-
@pytest.mark.
|
|
52
|
+
@pytest.mark.api
|
|
53
53
|
@pytest.mark.skipif(
|
|
54
54
|
EnvironmentResolver.is_localhost(), reason="Skipping this test on local environment"
|
|
55
55
|
)
|
|
@@ -84,7 +84,7 @@ def test_workflow_with_assistant_with_generate_image_tool(
|
|
|
84
84
|
@pytest.mark.workflow
|
|
85
85
|
@pytest.mark.workflow_with_assistant
|
|
86
86
|
@pytest.mark.file_management
|
|
87
|
-
@pytest.mark.
|
|
87
|
+
@pytest.mark.api
|
|
88
88
|
def test_workflow_with_assistant_with_read_file_tool(
|
|
89
89
|
assistant,
|
|
90
90
|
workflow_with_assistant,
|
|
@@ -115,7 +115,7 @@ def test_workflow_with_assistant_with_read_file_tool(
|
|
|
115
115
|
@pytest.mark.workflow_with_assistant
|
|
116
116
|
@pytest.mark.file_management
|
|
117
117
|
@pytest.mark.skip(reason="Test are flaky, tools work unstable")
|
|
118
|
-
@pytest.mark.
|
|
118
|
+
@pytest.mark.api
|
|
119
119
|
def test_workflow_with_assistant_with_file_editing_tool(
|
|
120
120
|
assistant,
|
|
121
121
|
workflow_with_assistant,
|
|
@@ -154,7 +154,7 @@ def test_workflow_with_assistant_with_file_editing_tool(
|
|
|
154
154
|
@pytest.mark.workflow_with_assistant
|
|
155
155
|
@pytest.mark.file_management
|
|
156
156
|
@pytest.mark.skip(reason="Test are flaky, tools work unstable")
|
|
157
|
-
@pytest.mark.
|
|
157
|
+
@pytest.mark.api
|
|
158
158
|
def test_workflow_with_assistant_with_filesystem_tool(
|
|
159
159
|
assistant,
|
|
160
160
|
workflow_with_assistant,
|
codemie_test_harness/tests/workflow/assistant_tools/git/test_workflow_with_assistant_git_tools.py
CHANGED
|
@@ -15,7 +15,7 @@ from codemie_test_harness.tests.test_data.git_tools_test_data import (
|
|
|
15
15
|
@pytest.mark.workflow
|
|
16
16
|
@pytest.mark.workflow_with_assistant
|
|
17
17
|
@pytest.mark.gitlab
|
|
18
|
-
@pytest.mark.
|
|
18
|
+
@pytest.mark.api
|
|
19
19
|
@pytest.mark.parametrize(
|
|
20
20
|
"toolkit,tool_name,prompt,expected_response",
|
|
21
21
|
list_branches_set_active_branch_test_data,
|
|
@@ -50,7 +50,7 @@ def test_workflow_with_list_branch_set_active_branch_tools(
|
|
|
50
50
|
@pytest.mark.workflow
|
|
51
51
|
@pytest.mark.workflow_with_assistant
|
|
52
52
|
@pytest.mark.gitlab
|
|
53
|
-
@pytest.mark.
|
|
53
|
+
@pytest.mark.api
|
|
54
54
|
@pytest.mark.parametrize(
|
|
55
55
|
"toolkit,tool_name,prompt_template,expected_template",
|
|
56
56
|
create_branch_test_data,
|
|
@@ -101,7 +101,7 @@ def test_workflow_with_create_branch_tool(
|
|
|
101
101
|
@pytest.mark.workflow
|
|
102
102
|
@pytest.mark.workflow_with_assistant
|
|
103
103
|
@pytest.mark.gitlab
|
|
104
|
-
@pytest.mark.
|
|
104
|
+
@pytest.mark.api
|
|
105
105
|
@pytest.mark.parametrize(
|
|
106
106
|
"toolkit,tool_name,prompt_template,expected_template,expected_content_template",
|
|
107
107
|
create_file_test_data,
|
|
@@ -154,7 +154,7 @@ def test_workflow_with_create_file_tool(
|
|
|
154
154
|
@pytest.mark.workflow
|
|
155
155
|
@pytest.mark.workflow_with_assistant
|
|
156
156
|
@pytest.mark.gitlab
|
|
157
|
-
@pytest.mark.
|
|
157
|
+
@pytest.mark.api
|
|
158
158
|
@pytest.mark.parametrize(
|
|
159
159
|
"toolkit,tool_name,prompt_template,expected_template",
|
|
160
160
|
create_merge_request_test_data,
|
|
@@ -203,7 +203,7 @@ def test_workflow_with_create_merge_request_tool(
|
|
|
203
203
|
@pytest.mark.workflow
|
|
204
204
|
@pytest.mark.workflow_with_assistant
|
|
205
205
|
@pytest.mark.gitlab
|
|
206
|
-
@pytest.mark.
|
|
206
|
+
@pytest.mark.api
|
|
207
207
|
@pytest.mark.parametrize(
|
|
208
208
|
"toolkit,tool_name,prompt_template,expected_template,file_content_template",
|
|
209
209
|
delete_file_test_data,
|
|
@@ -271,7 +271,7 @@ def test_workflow_with_delete_file_tool(
|
|
|
271
271
|
@pytest.mark.workflow
|
|
272
272
|
@pytest.mark.workflow_with_assistant
|
|
273
273
|
@pytest.mark.gitlab
|
|
274
|
-
@pytest.mark.
|
|
274
|
+
@pytest.mark.api
|
|
275
275
|
@pytest.mark.parametrize(
|
|
276
276
|
"toolkit,tool_name,create_mr_prompt_template,create_mr_expected_template,get_mr_changes_prompt_template,get_mr_changes_expected_template",
|
|
277
277
|
get_merge_request_changes_test_data,
|
|
@@ -336,7 +336,7 @@ def test_workflow_with_get_merge_request_changes_tool(
|
|
|
336
336
|
@pytest.mark.workflow
|
|
337
337
|
@pytest.mark.workflow_with_assistant
|
|
338
338
|
@pytest.mark.gitlab
|
|
339
|
-
@pytest.mark.
|
|
339
|
+
@pytest.mark.api
|
|
340
340
|
@pytest.mark.parametrize(
|
|
341
341
|
"toolkit,tool_name,create_prompt_template,create_expected_template,created_content_template,update_prompt_template,update_expected_template,updated_content_template",
|
|
342
342
|
update_file_test_data,
|
|
@@ -23,7 +23,7 @@ pytestmark = pytest.mark.skipif(
|
|
|
23
23
|
@pytest.mark.workflow
|
|
24
24
|
@pytest.mark.workflow_with_assistant
|
|
25
25
|
@pytest.mark.mcp
|
|
26
|
-
@pytest.mark.
|
|
26
|
+
@pytest.mark.api
|
|
27
27
|
def test_workflow_with_assistant_with_time_mcp_server(
|
|
28
28
|
assistant,
|
|
29
29
|
workflow_with_assistant,
|
|
@@ -44,7 +44,7 @@ def test_workflow_with_assistant_with_time_mcp_server(
|
|
|
44
44
|
@pytest.mark.workflow
|
|
45
45
|
@pytest.mark.workflow_with_assistant
|
|
46
46
|
@pytest.mark.mcp
|
|
47
|
-
@pytest.mark.
|
|
47
|
+
@pytest.mark.api
|
|
48
48
|
@pytest.mark.parametrize(
|
|
49
49
|
"command, expected_answer",
|
|
50
50
|
cli_mcp_server_test_data,
|
|
@@ -74,7 +74,7 @@ def test_workflow_with_assistant_with_cli_mcp_server(
|
|
|
74
74
|
@pytest.mark.workflow
|
|
75
75
|
@pytest.mark.workflow_with_assistant
|
|
76
76
|
@pytest.mark.mcp
|
|
77
|
-
@pytest.mark.
|
|
77
|
+
@pytest.mark.api
|
|
78
78
|
def test_workflow_with_assistant_with_fetch_mcp_server(
|
|
79
79
|
assistant,
|
|
80
80
|
workflow_with_assistant,
|
|
@@ -19,7 +19,7 @@ from codemie_test_harness.tests.test_data.notification_tools_test_data import (
|
|
|
19
19
|
@pytest.mark.workflow_with_assistant
|
|
20
20
|
@pytest.mark.notification
|
|
21
21
|
@pytest.mark.email
|
|
22
|
-
@pytest.mark.
|
|
22
|
+
@pytest.mark.api
|
|
23
23
|
@pytest.mark.skipif(
|
|
24
24
|
get_environment() in [Environment.LOCALHOST, Environment.GCP],
|
|
25
25
|
reason="Skipping this test on local environment",
|
|
@@ -67,7 +67,7 @@ def test_workflow_with_email_tool(
|
|
|
67
67
|
@pytest.mark.workflow_with_assistant
|
|
68
68
|
@pytest.mark.notification
|
|
69
69
|
@pytest.mark.telegram
|
|
70
|
-
@pytest.mark.
|
|
70
|
+
@pytest.mark.api
|
|
71
71
|
def test_workflow_with_telegram_tool(
|
|
72
72
|
assistant,
|
|
73
73
|
similarity_check,
|
|
@@ -11,7 +11,7 @@ from codemie_test_harness.tests.test_data.open_api_tools_test_data import (
|
|
|
11
11
|
@pytest.mark.workflow
|
|
12
12
|
@pytest.mark.workflow_with_assistant
|
|
13
13
|
@pytest.mark.openapi
|
|
14
|
-
@pytest.mark.
|
|
14
|
+
@pytest.mark.api
|
|
15
15
|
@pytest.mark.parametrize(
|
|
16
16
|
"tool_name, prompt, expected_response",
|
|
17
17
|
open_api_tools_test_data,
|
|
@@ -14,7 +14,7 @@ from codemie_test_harness.tests.utils.constants import TESTS_PATH
|
|
|
14
14
|
@pytest.mark.workflow
|
|
15
15
|
@pytest.mark.workflow_with_assistant
|
|
16
16
|
@pytest.mark.plugin
|
|
17
|
-
@pytest.mark.
|
|
17
|
+
@pytest.mark.api
|
|
18
18
|
@pytest.mark.parametrize(
|
|
19
19
|
"prompt,expected_response,tool_name",
|
|
20
20
|
list_files_plugin_tools_test_data,
|
|
@@ -42,7 +42,7 @@ def test_workflow_with_assistant_with_list_files_plugin_tools(
|
|
|
42
42
|
@pytest.mark.workflow
|
|
43
43
|
@pytest.mark.workflow_with_assistant
|
|
44
44
|
@pytest.mark.plugin
|
|
45
|
-
@pytest.mark.
|
|
45
|
+
@pytest.mark.api
|
|
46
46
|
def test_workflow_with_assistant_with_modify_files_plugin_tools(
|
|
47
47
|
assistant,
|
|
48
48
|
workflow_utils,
|
|
@@ -14,7 +14,7 @@ from codemie_test_harness.tests.utils.constants import TESTS_PATH
|
|
|
14
14
|
@pytest.mark.workflow_with_assistant
|
|
15
15
|
@pytest.mark.plugin
|
|
16
16
|
@pytest.mark.mcp
|
|
17
|
-
@pytest.mark.
|
|
17
|
+
@pytest.mark.api
|
|
18
18
|
@pytest.mark.parametrize(
|
|
19
19
|
"prompt,expected_response",
|
|
20
20
|
cli_mcp_server_with_plugin_test_data,
|
|
@@ -43,7 +43,7 @@ def test_workflow_with_assistant_with_plugin_and_cli_mcp_server(
|
|
|
43
43
|
@pytest.mark.workflow_with_assistant
|
|
44
44
|
@pytest.mark.plugin
|
|
45
45
|
@pytest.mark.mcp
|
|
46
|
-
@pytest.mark.
|
|
46
|
+
@pytest.mark.api
|
|
47
47
|
@pytest.mark.parametrize(
|
|
48
48
|
"prompt,expected_response,tool_name",
|
|
49
49
|
filesystem_mcp_server_with_plugin_test_data,
|
|
@@ -12,7 +12,7 @@ from codemie_test_harness.tests.utils.constants import (
|
|
|
12
12
|
@pytest.mark.workflow
|
|
13
13
|
@pytest.mark.workflow_with_assistant
|
|
14
14
|
@pytest.mark.project_management
|
|
15
|
-
@pytest.mark.
|
|
15
|
+
@pytest.mark.api
|
|
16
16
|
@pytest.mark.parametrize(
|
|
17
17
|
"tool_name, integration_type, prompt, expected_response",
|
|
18
18
|
pm_tools_test_data,
|
|
@@ -8,7 +8,7 @@ from codemie_test_harness.tests.test_data.report_portal_tools_test_data import (
|
|
|
8
8
|
@pytest.mark.workflow
|
|
9
9
|
@pytest.mark.workflow_with_assistant
|
|
10
10
|
@pytest.mark.report_portal
|
|
11
|
-
@pytest.mark.
|
|
11
|
+
@pytest.mark.api
|
|
12
12
|
@pytest.mark.parametrize(
|
|
13
13
|
"toolkit,tool_name,prompt,expected_response",
|
|
14
14
|
rp_test_data,
|
|
@@ -12,7 +12,7 @@ from codemie_test_harness.tests.utils.base_utils import percent_of_relevant_titl
|
|
|
12
12
|
@pytest.mark.workflow
|
|
13
13
|
@pytest.mark.workflow_with_assistant
|
|
14
14
|
@pytest.mark.research
|
|
15
|
-
@pytest.mark.
|
|
15
|
+
@pytest.mark.api
|
|
16
16
|
@pytest.mark.parametrize(
|
|
17
17
|
"tool_name,prompt,expected_percentage",
|
|
18
18
|
search_tools_test_data,
|
|
@@ -44,7 +44,7 @@ def test_workflow_with_search_tools(
|
|
|
44
44
|
@pytest.mark.workflow
|
|
45
45
|
@pytest.mark.workflow_with_assistant
|
|
46
46
|
@pytest.mark.research
|
|
47
|
-
@pytest.mark.
|
|
47
|
+
@pytest.mark.api
|
|
48
48
|
@pytest.mark.parametrize(
|
|
49
49
|
"tool_name,prompt,expected_response",
|
|
50
50
|
interactions_tools_test_data,
|
|
@@ -10,7 +10,7 @@ from codemie_test_harness.tests.test_data.servicenow_tools_test_data import (
|
|
|
10
10
|
@pytest.mark.workflow
|
|
11
11
|
@pytest.mark.workflow_with_assistant
|
|
12
12
|
@pytest.mark.servicenow
|
|
13
|
-
@pytest.mark.
|
|
13
|
+
@pytest.mark.api
|
|
14
14
|
def test_workflow_with_assistant_with_servicenow_tools(
|
|
15
15
|
service_now_integration,
|
|
16
16
|
workflow_with_assistant,
|
codemie_test_harness/tests/workflow/assistant_tools/vcs/workflow_with_assistant_vcs_tools.py
CHANGED
|
@@ -12,7 +12,7 @@ from codemie_test_harness.tests.utils.constants import vcs_integrations
|
|
|
12
12
|
@pytest.mark.workflow
|
|
13
13
|
@pytest.mark.workflow_with_assistant
|
|
14
14
|
@pytest.mark.vcs
|
|
15
|
-
@pytest.mark.
|
|
15
|
+
@pytest.mark.api
|
|
16
16
|
@pytest.mark.parametrize(
|
|
17
17
|
"tool_name,prompt,expected_response",
|
|
18
18
|
vcs_tools_test_data,
|
|
@@ -25,8 +25,8 @@ jira_tool_response = project_management_tools_data[0].values[4]
|
|
|
25
25
|
@pytest.mark.integration
|
|
26
26
|
@pytest.mark.default_integration
|
|
27
27
|
@pytest.mark.not_for_parallel_run
|
|
28
|
-
@pytest.mark.
|
|
29
|
-
@pytest.mark.
|
|
28
|
+
@pytest.mark.api
|
|
29
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
30
30
|
@pytest.mark.parametrize(
|
|
31
31
|
"user_integration, is_global, project_integration",
|
|
32
32
|
integrations,
|
|
@@ -92,8 +92,8 @@ def test_tool_in_workflow_should_use_user_integration_by_default(
|
|
|
92
92
|
@pytest.mark.integration
|
|
93
93
|
@pytest.mark.default_integration
|
|
94
94
|
@pytest.mark.not_for_parallel_run
|
|
95
|
-
@pytest.mark.
|
|
96
|
-
@pytest.mark.
|
|
95
|
+
@pytest.mark.api
|
|
96
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
97
97
|
def test_tool_in_workflow_with_global_and_project_integration(
|
|
98
98
|
integration_utils,
|
|
99
99
|
similarity_check,
|
|
@@ -142,8 +142,8 @@ def test_tool_in_workflow_with_global_and_project_integration(
|
|
|
142
142
|
@pytest.mark.integration
|
|
143
143
|
@pytest.mark.default_integration
|
|
144
144
|
@pytest.mark.not_for_parallel_run
|
|
145
|
-
@pytest.mark.
|
|
146
|
-
@pytest.mark.
|
|
145
|
+
@pytest.mark.api
|
|
146
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
147
147
|
def test_tool_in_workflow_with_project_integration_only(
|
|
148
148
|
integration_utils,
|
|
149
149
|
similarity_check,
|
|
@@ -183,7 +183,7 @@ def test_tool_in_workflow_with_project_integration_only(
|
|
|
183
183
|
@pytest.mark.integration
|
|
184
184
|
@pytest.mark.default_integration
|
|
185
185
|
@pytest.mark.not_for_parallel_run
|
|
186
|
-
@pytest.mark.
|
|
186
|
+
@pytest.mark.api
|
|
187
187
|
def test_tool_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
188
188
|
integration_utils,
|
|
189
189
|
similarity_check,
|
|
@@ -232,7 +232,7 @@ def test_tool_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
|
232
232
|
@pytest.mark.integration
|
|
233
233
|
@pytest.mark.default_integration
|
|
234
234
|
@pytest.mark.not_for_parallel_run
|
|
235
|
-
@pytest.mark.
|
|
235
|
+
@pytest.mark.api
|
|
236
236
|
def test_tool_in_workflow_with_project_valid_and_user_invalid_integration(
|
|
237
237
|
integration_utils,
|
|
238
238
|
similarity_check,
|
|
@@ -26,8 +26,8 @@ ado_wiki_answer = ado_wiki_get_test_data[0][3]
|
|
|
26
26
|
@pytest.mark.integration
|
|
27
27
|
@pytest.mark.default_integration
|
|
28
28
|
@pytest.mark.not_for_parallel_run
|
|
29
|
-
@pytest.mark.
|
|
30
|
-
@pytest.mark.
|
|
29
|
+
@pytest.mark.api
|
|
30
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
31
31
|
@pytest.mark.parametrize(
|
|
32
32
|
"user_integration, is_global, project_integration",
|
|
33
33
|
integrations,
|
|
@@ -94,8 +94,8 @@ def test_tool_in_workflow_should_use_user_integration_by_default(
|
|
|
94
94
|
@pytest.mark.integration
|
|
95
95
|
@pytest.mark.default_integration
|
|
96
96
|
@pytest.mark.not_for_parallel_run
|
|
97
|
-
@pytest.mark.
|
|
98
|
-
@pytest.mark.
|
|
97
|
+
@pytest.mark.api
|
|
98
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
99
99
|
def test_tool_in_workflow_with_global_and_project_integration(
|
|
100
100
|
integration_utils,
|
|
101
101
|
similarity_check,
|
|
@@ -144,8 +144,8 @@ def test_tool_in_workflow_with_global_and_project_integration(
|
|
|
144
144
|
@pytest.mark.integration
|
|
145
145
|
@pytest.mark.default_integration
|
|
146
146
|
@pytest.mark.not_for_parallel_run
|
|
147
|
-
@pytest.mark.
|
|
148
|
-
@pytest.mark.
|
|
147
|
+
@pytest.mark.api
|
|
148
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
149
149
|
def test_tool_in_workflow_with_project_integration_only(
|
|
150
150
|
integration_utils,
|
|
151
151
|
similarity_check,
|
|
@@ -186,7 +186,7 @@ def test_tool_in_workflow_with_project_integration_only(
|
|
|
186
186
|
@pytest.mark.integration
|
|
187
187
|
@pytest.mark.default_integration
|
|
188
188
|
@pytest.mark.not_for_parallel_run
|
|
189
|
-
@pytest.mark.
|
|
189
|
+
@pytest.mark.api
|
|
190
190
|
def test_tool_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
191
191
|
integration_utils,
|
|
192
192
|
similarity_check,
|
|
@@ -236,7 +236,7 @@ def test_tool_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
|
236
236
|
@pytest.mark.integration
|
|
237
237
|
@pytest.mark.default_integration
|
|
238
238
|
@pytest.mark.not_for_parallel_run
|
|
239
|
-
@pytest.mark.
|
|
239
|
+
@pytest.mark.api
|
|
240
240
|
def test_tool_in_workflow_with_project_valid_and_user_invalid_integration(
|
|
241
241
|
integration_utils,
|
|
242
242
|
similarity_check,
|
|
@@ -15,7 +15,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
15
15
|
@pytest.mark.workflow
|
|
16
16
|
@pytest.mark.direct_tool
|
|
17
17
|
@pytest.mark.keycloak
|
|
18
|
-
@pytest.mark.
|
|
18
|
+
@pytest.mark.api
|
|
19
19
|
def test_workflow_with_keycloak_tool_direct(
|
|
20
20
|
keycloak_integration, workflow_utils, workflow_with_tool, similarity_check
|
|
21
21
|
):
|
|
@@ -37,7 +37,7 @@ def test_workflow_with_keycloak_tool_direct(
|
|
|
37
37
|
@pytest.mark.workflow
|
|
38
38
|
@pytest.mark.direct_tool
|
|
39
39
|
@pytest.mark.keycloak
|
|
40
|
-
@pytest.mark.
|
|
40
|
+
@pytest.mark.api
|
|
41
41
|
def test_workflow_with_keycloak_tool_with_hardcoded_args(
|
|
42
42
|
keycloak_integration, workflow_utils, workflow_with_tool, similarity_check
|
|
43
43
|
):
|
|
@@ -58,7 +58,7 @@ def test_workflow_with_keycloak_tool_with_hardcoded_args(
|
|
|
58
58
|
@pytest.mark.workflow
|
|
59
59
|
@pytest.mark.direct_tool
|
|
60
60
|
@pytest.mark.keycloak
|
|
61
|
-
@pytest.mark.
|
|
61
|
+
@pytest.mark.api
|
|
62
62
|
def test_workflow_with_keycloak_tool_with_overriding_args(
|
|
63
63
|
keycloak_integration, workflow_utils, workflow_with_tool, similarity_check
|
|
64
64
|
):
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_test_plan_tools.py
CHANGED
|
@@ -13,7 +13,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
13
13
|
@pytest.mark.workflow
|
|
14
14
|
@pytest.mark.direct_tool
|
|
15
15
|
@pytest.mark.ado
|
|
16
|
-
@pytest.mark.
|
|
16
|
+
@pytest.mark.api
|
|
17
17
|
@pytest.mark.parametrize(
|
|
18
18
|
"toolkit,tool_name,prompt,expected_response",
|
|
19
19
|
ado_test_plan_get_test_data,
|
|
@@ -44,7 +44,7 @@ def test_workflow_with_ado_test_plan_get_tools_direct(
|
|
|
44
44
|
@pytest.mark.workflow
|
|
45
45
|
@pytest.mark.direct_tool
|
|
46
46
|
@pytest.mark.ado
|
|
47
|
-
@pytest.mark.
|
|
47
|
+
@pytest.mark.api
|
|
48
48
|
@pytest.mark.parametrize(
|
|
49
49
|
"toolkit,tool_name,prompt,expected_response",
|
|
50
50
|
ado_test_plan_get_test_data,
|
|
@@ -73,7 +73,7 @@ def test_workflow_with_ado_test_plan_get_tools_with_hardcoded_args(
|
|
|
73
73
|
@pytest.mark.workflow
|
|
74
74
|
@pytest.mark.direct_tool
|
|
75
75
|
@pytest.mark.ado
|
|
76
|
-
@pytest.mark.
|
|
76
|
+
@pytest.mark.api
|
|
77
77
|
@pytest.mark.parametrize(
|
|
78
78
|
"toolkit,tool_name,prompt,expected_response",
|
|
79
79
|
ado_test_plan_get_test_data,
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_wiki_tools.py
CHANGED
|
@@ -13,7 +13,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
13
13
|
@pytest.mark.workflow
|
|
14
14
|
@pytest.mark.direct_tool
|
|
15
15
|
@pytest.mark.ado
|
|
16
|
-
@pytest.mark.
|
|
16
|
+
@pytest.mark.api
|
|
17
17
|
@pytest.mark.testcase("EPMCDME-5192")
|
|
18
18
|
@pytest.mark.parametrize(
|
|
19
19
|
"toolkit,tool_name,prompt,expected_response",
|
|
@@ -45,7 +45,7 @@ def test_workflow_with_ado_wiki_get_tools_direct(
|
|
|
45
45
|
@pytest.mark.workflow
|
|
46
46
|
@pytest.mark.direct_tool
|
|
47
47
|
@pytest.mark.ado
|
|
48
|
-
@pytest.mark.
|
|
48
|
+
@pytest.mark.api
|
|
49
49
|
@pytest.mark.testcase("EPMCDME-5192")
|
|
50
50
|
@pytest.mark.parametrize(
|
|
51
51
|
"toolkit,tool_name,prompt,expected_response",
|
|
@@ -75,7 +75,7 @@ def test_workflow_with_ado_wiki_get_tools_with_hardcoded_args(
|
|
|
75
75
|
@pytest.mark.workflow
|
|
76
76
|
@pytest.mark.direct_tool
|
|
77
77
|
@pytest.mark.ado
|
|
78
|
-
@pytest.mark.
|
|
78
|
+
@pytest.mark.api
|
|
79
79
|
@pytest.mark.testcase("EPMCDME-5192")
|
|
80
80
|
@pytest.mark.parametrize(
|
|
81
81
|
"toolkit,tool_name,prompt,expected_response",
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_work_item_tools.py
CHANGED
|
@@ -13,7 +13,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
13
13
|
@pytest.mark.workflow
|
|
14
14
|
@pytest.mark.direct_tool
|
|
15
15
|
@pytest.mark.ado
|
|
16
|
-
@pytest.mark.
|
|
16
|
+
@pytest.mark.api
|
|
17
17
|
@pytest.mark.testcase("EPMCDME-5384")
|
|
18
18
|
@pytest.mark.parametrize(
|
|
19
19
|
"toolkit,tool_name,prompt,expected_response",
|
|
@@ -45,7 +45,7 @@ def test_workflow_with_ado_work_item_get_tools_direct(
|
|
|
45
45
|
@pytest.mark.workflow
|
|
46
46
|
@pytest.mark.direct_tool
|
|
47
47
|
@pytest.mark.ado
|
|
48
|
-
@pytest.mark.
|
|
48
|
+
@pytest.mark.api
|
|
49
49
|
@pytest.mark.testcase("EPMCDME-5384")
|
|
50
50
|
@pytest.mark.parametrize(
|
|
51
51
|
"toolkit,tool_name,prompt,expected_response",
|
|
@@ -75,7 +75,7 @@ def test_workflow_with_ado_work_item_get_tools_with_hardcoded_args(
|
|
|
75
75
|
@pytest.mark.workflow
|
|
76
76
|
@pytest.mark.direct_tool
|
|
77
77
|
@pytest.mark.ado
|
|
78
|
-
@pytest.mark.
|
|
78
|
+
@pytest.mark.api
|
|
79
79
|
@pytest.mark.testcase("EPMCDME-5384")
|
|
80
80
|
@pytest.mark.parametrize(
|
|
81
81
|
"toolkit,tool_name,prompt,expected_response",
|
|
@@ -14,7 +14,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
14
14
|
@pytest.mark.workflow
|
|
15
15
|
@pytest.mark.direct_tool
|
|
16
16
|
@pytest.mark.cloud
|
|
17
|
-
@pytest.mark.
|
|
17
|
+
@pytest.mark.api
|
|
18
18
|
@pytest.mark.parametrize(
|
|
19
19
|
"toolkit,tool_name,credential_type,credentials,prompt,expected_response",
|
|
20
20
|
cloud_test_data,
|
|
@@ -54,7 +54,7 @@ def test_workflow_with_cloud_tools_direct(
|
|
|
54
54
|
@pytest.mark.workflow
|
|
55
55
|
@pytest.mark.direct_tool
|
|
56
56
|
@pytest.mark.cloud
|
|
57
|
-
@pytest.mark.
|
|
57
|
+
@pytest.mark.api
|
|
58
58
|
@pytest.mark.parametrize(
|
|
59
59
|
"toolkit,tool_name,credential_type,credentials,prompt,expected_response",
|
|
60
60
|
cloud_test_data,
|
|
@@ -92,7 +92,7 @@ def test_workflow_with_cloud_tools_with_hardcoded_args(
|
|
|
92
92
|
@pytest.mark.workflow
|
|
93
93
|
@pytest.mark.direct_tool
|
|
94
94
|
@pytest.mark.cloud
|
|
95
|
-
@pytest.mark.
|
|
95
|
+
@pytest.mark.api
|
|
96
96
|
@pytest.mark.parametrize(
|
|
97
97
|
"toolkit,tool_name,credential_type,credentials,prompt,expected_response",
|
|
98
98
|
cloud_test_data,
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_codebase_tools.py
CHANGED
|
@@ -15,7 +15,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
15
15
|
|
|
16
16
|
@pytest.mark.workflow
|
|
17
17
|
@pytest.mark.direct_tool
|
|
18
|
-
@pytest.mark.
|
|
18
|
+
@pytest.mark.api
|
|
19
19
|
@pytest.mark.parametrize(
|
|
20
20
|
"toolkit, tool_name, prompt, expected_response",
|
|
21
21
|
sonar_tools_test_data,
|
|
@@ -55,7 +55,7 @@ def test_workflow_with_sonar_tools_direct(
|
|
|
55
55
|
|
|
56
56
|
@pytest.mark.workflow
|
|
57
57
|
@pytest.mark.direct_tool
|
|
58
|
-
@pytest.mark.
|
|
58
|
+
@pytest.mark.api
|
|
59
59
|
@pytest.mark.parametrize(
|
|
60
60
|
"toolkit, tool_name, prompt, expected_response",
|
|
61
61
|
sonar_tools_test_data,
|
|
@@ -96,7 +96,7 @@ def test_workflow_with_sonar_tools_with_hardcoded_args(
|
|
|
96
96
|
|
|
97
97
|
@pytest.mark.workflow
|
|
98
98
|
@pytest.mark.direct_tool
|
|
99
|
-
@pytest.mark.
|
|
99
|
+
@pytest.mark.api
|
|
100
100
|
@pytest.mark.parametrize(
|
|
101
101
|
"toolkit, tool_name, prompt, expected_response",
|
|
102
102
|
sonar_tools_test_data,
|
|
@@ -23,7 +23,7 @@ pytestmark = pytest.mark.skipif(
|
|
|
23
23
|
@pytest.mark.workflow
|
|
24
24
|
@pytest.mark.direct_tool
|
|
25
25
|
@pytest.mark.elastic
|
|
26
|
-
@pytest.mark.
|
|
26
|
+
@pytest.mark.api
|
|
27
27
|
def test_workflow_with_elastic_tools_direct(
|
|
28
28
|
workflow_with_tool, workflow_utils, integration_utils
|
|
29
29
|
):
|
|
@@ -49,7 +49,7 @@ def test_workflow_with_elastic_tools_direct(
|
|
|
49
49
|
@pytest.mark.workflow
|
|
50
50
|
@pytest.mark.direct_tool
|
|
51
51
|
@pytest.mark.elastic
|
|
52
|
-
@pytest.mark.
|
|
52
|
+
@pytest.mark.api
|
|
53
53
|
def test_workflow_with_elastic_tools_with_hardcoded_args(
|
|
54
54
|
workflow_with_tool, workflow_utils, integration_utils
|
|
55
55
|
):
|
|
@@ -76,7 +76,7 @@ def test_workflow_with_elastic_tools_with_hardcoded_args(
|
|
|
76
76
|
@pytest.mark.workflow
|
|
77
77
|
@pytest.mark.direct_tool
|
|
78
78
|
@pytest.mark.elastic
|
|
79
|
-
@pytest.mark.
|
|
79
|
+
@pytest.mark.api
|
|
80
80
|
def test_workflow_with_elastic_tools_with_overriding_args(
|
|
81
81
|
workflow_with_tool, workflow_utils, integration_utils
|
|
82
82
|
):
|
|
@@ -22,7 +22,7 @@ pytestmark = pytest.mark.skipif(
|
|
|
22
22
|
@pytest.mark.workflow
|
|
23
23
|
@pytest.mark.direct_tool
|
|
24
24
|
@pytest.mark.sql
|
|
25
|
-
@pytest.mark.
|
|
25
|
+
@pytest.mark.api
|
|
26
26
|
@pytest.mark.parametrize(
|
|
27
27
|
"toolkit,tool_name,db_dialect,prompt,expected_response",
|
|
28
28
|
sql_tools_test_data,
|
|
@@ -63,7 +63,7 @@ def test_workflow_with_sql_tools_direct(
|
|
|
63
63
|
@pytest.mark.workflow
|
|
64
64
|
@pytest.mark.direct_tool
|
|
65
65
|
@pytest.mark.sql
|
|
66
|
-
@pytest.mark.
|
|
66
|
+
@pytest.mark.api
|
|
67
67
|
@pytest.mark.parametrize(
|
|
68
68
|
"toolkit,tool_name,db_dialect,prompt,expected_response",
|
|
69
69
|
sql_tools_test_data,
|
|
@@ -105,7 +105,7 @@ def test_workflow_with_sql_tools_with_hardcoded_args(
|
|
|
105
105
|
@pytest.mark.workflow
|
|
106
106
|
@pytest.mark.direct_tool
|
|
107
107
|
@pytest.mark.sql
|
|
108
|
-
@pytest.mark.
|
|
108
|
+
@pytest.mark.api
|
|
109
109
|
@pytest.mark.parametrize(
|
|
110
110
|
"toolkit,tool_name,db_dialect,prompt,expected_response",
|
|
111
111
|
sql_tools_test_data,
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_file_management_tools.py
CHANGED
|
@@ -12,7 +12,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
12
12
|
@pytest.mark.workflow
|
|
13
13
|
@pytest.mark.direct_tool
|
|
14
14
|
@pytest.mark.file_management
|
|
15
|
-
@pytest.mark.
|
|
15
|
+
@pytest.mark.api
|
|
16
16
|
@pytest.mark.parametrize(
|
|
17
17
|
"tool, prompt, expected_response",
|
|
18
18
|
file_management_tools_test_data,
|
|
@@ -40,7 +40,7 @@ def test_workflow_with_file_management_tools_direct(
|
|
|
40
40
|
@pytest.mark.workflow
|
|
41
41
|
@pytest.mark.direct_tool
|
|
42
42
|
@pytest.mark.file_management
|
|
43
|
-
@pytest.mark.
|
|
43
|
+
@pytest.mark.api
|
|
44
44
|
@pytest.mark.parametrize(
|
|
45
45
|
"tool, prompt, expected_response",
|
|
46
46
|
file_management_tools_test_data,
|
|
@@ -67,7 +67,7 @@ def test_workflow_with_file_management_tools_with_hardcoded_args(
|
|
|
67
67
|
@pytest.mark.workflow
|
|
68
68
|
@pytest.mark.direct_tool
|
|
69
69
|
@pytest.mark.file_management
|
|
70
|
-
@pytest.mark.
|
|
70
|
+
@pytest.mark.api
|
|
71
71
|
@pytest.mark.parametrize(
|
|
72
72
|
"tool, prompt, expected_response",
|
|
73
73
|
file_management_tools_test_data,
|