codemie-test-harness 0.1.178__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 +10 -10
- 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/{mcp → 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/ado_work_item_tools_test_data.py +3 -3
- 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 +19 -16
- codemie_test_harness/tests/ui/datasource/test_datasource_page.py +5 -5
- codemie_test_harness/tests/ui/datasource/test_edit_datasource.py +15 -11
- codemie_test_harness/tests/ui/datasource/test_view_datasource.py +11 -9
- codemie_test_harness/tests/ui/integrations/test_create_integration.py +9 -9
- codemie_test_harness/tests/ui/pageobject/datasources/create_edit_datasource_page.py +12 -5
- codemie_test_harness/tests/ui/pageobject/datasources/datasource_page.py +6 -2
- codemie_test_harness/tests/ui/pageobject/datasources/datasource_sidebar.py +2 -2
- codemie_test_harness/tests/ui/pageobject/datasources/view_datasource_page.py +3 -1
- 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 +10 -10
- 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 +5 -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 +10 -10
- 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.178.dist-info → codemie_test_harness-0.1.180.dist-info}/METADATA +8 -8
- {codemie_test_harness-0.1.178.dist-info → codemie_test_harness-0.1.180.dist-info}/RECORD +135 -133
- {codemie_test_harness-0.1.178.dist-info → codemie_test_harness-0.1.180.dist-info}/WHEEL +0 -0
- {codemie_test_harness-0.1.178.dist-info → codemie_test_harness-0.1.180.dist-info}/entry_points.txt +0 -0
codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_kit.py
CHANGED
|
@@ -13,15 +13,15 @@ from codemie_test_harness.tests.test_data.ado_wiki_tools_test_data import (
|
|
|
13
13
|
from codemie_test_harness.tests.utils.credentials_manager import CredentialsManager
|
|
14
14
|
from codemie_test_harness.tests.utils.constants import test_project_name
|
|
15
15
|
|
|
16
|
-
ado_wiki_prompt = ado_wiki_get_test_data[
|
|
17
|
-
ado_wiki_answer = ado_wiki_get_test_data[
|
|
16
|
+
ado_wiki_prompt = ado_wiki_get_test_data[1][2]
|
|
17
|
+
ado_wiki_answer = ado_wiki_get_test_data[1][3]
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
@pytest.mark.integration
|
|
21
21
|
@pytest.mark.default_integration
|
|
22
22
|
@pytest.mark.not_for_parallel_run
|
|
23
|
-
@pytest.mark.
|
|
24
|
-
@pytest.mark.
|
|
23
|
+
@pytest.mark.api
|
|
24
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
25
25
|
@pytest.mark.parametrize(
|
|
26
26
|
"user_integration, is_global, project_integration",
|
|
27
27
|
integrations,
|
|
@@ -82,9 +82,9 @@ def test_assistant_should_use_user_integration_by_default(
|
|
|
82
82
|
|
|
83
83
|
@pytest.mark.integration
|
|
84
84
|
@pytest.mark.default_integration
|
|
85
|
-
@pytest.mark.
|
|
85
|
+
@pytest.mark.api
|
|
86
86
|
@pytest.mark.not_for_parallel_run
|
|
87
|
-
@pytest.mark.
|
|
87
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
88
88
|
def test_assistant_with_global_and_project_integration(
|
|
89
89
|
integration_utils,
|
|
90
90
|
assistant,
|
|
@@ -128,8 +128,8 @@ def test_assistant_with_global_and_project_integration(
|
|
|
128
128
|
@pytest.mark.integration
|
|
129
129
|
@pytest.mark.default_integration
|
|
130
130
|
@pytest.mark.not_for_parallel_run
|
|
131
|
-
@pytest.mark.
|
|
132
|
-
@pytest.mark.
|
|
131
|
+
@pytest.mark.api
|
|
132
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
133
133
|
def test_assistant_with_project_integration_only(
|
|
134
134
|
integration_utils,
|
|
135
135
|
assistant,
|
|
@@ -165,7 +165,7 @@ def test_assistant_with_project_integration_only(
|
|
|
165
165
|
@pytest.mark.integration
|
|
166
166
|
@pytest.mark.default_integration
|
|
167
167
|
@pytest.mark.not_for_parallel_run
|
|
168
|
-
@pytest.mark.
|
|
168
|
+
@pytest.mark.api
|
|
169
169
|
def test_assistant_with_global_valid_and_user_invalid_integration(
|
|
170
170
|
assistant, assistant_utils, integration_utils, similarity_check
|
|
171
171
|
):
|
|
@@ -207,7 +207,7 @@ def test_assistant_with_global_valid_and_user_invalid_integration(
|
|
|
207
207
|
@pytest.mark.integration
|
|
208
208
|
@pytest.mark.default_integration
|
|
209
209
|
@pytest.mark.not_for_parallel_run
|
|
210
|
-
@pytest.mark.
|
|
210
|
+
@pytest.mark.api
|
|
211
211
|
def test_assistant_with_project_valid_and_user_invalid_integration(
|
|
212
212
|
assistant, assistant_utils, integration_utils, similarity_check
|
|
213
213
|
):
|
|
@@ -21,8 +21,8 @@ git_tool_answer = list_branches_set_active_branch_test_data[0][3]
|
|
|
21
21
|
@pytest.mark.integration
|
|
22
22
|
@pytest.mark.default_integration
|
|
23
23
|
@pytest.mark.not_for_parallel_run
|
|
24
|
-
@pytest.mark.
|
|
25
|
-
@pytest.mark.
|
|
24
|
+
@pytest.mark.api
|
|
25
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
26
26
|
@pytest.mark.parametrize(
|
|
27
27
|
"user_integration, is_global, project_integration",
|
|
28
28
|
integrations,
|
|
@@ -94,8 +94,8 @@ def test_assistant_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_assistant_with_global_and_project_integration(
|
|
100
100
|
datasource_utils,
|
|
101
101
|
default_embedding_llm,
|
|
@@ -153,8 +153,8 @@ def test_assistant_with_global_and_project_integration(
|
|
|
153
153
|
@pytest.mark.integration
|
|
154
154
|
@pytest.mark.default_integration
|
|
155
155
|
@pytest.mark.not_for_parallel_run
|
|
156
|
-
@pytest.mark.
|
|
157
|
-
@pytest.mark.
|
|
156
|
+
@pytest.mark.api
|
|
157
|
+
@pytest.mark.testcase("EPMCDME-6708")
|
|
158
158
|
def test_assistant_with_project_integration_only(
|
|
159
159
|
datasource_utils,
|
|
160
160
|
default_embedding_llm,
|
|
@@ -199,7 +199,7 @@ def test_assistant_with_project_integration_only(
|
|
|
199
199
|
@pytest.mark.integration
|
|
200
200
|
@pytest.mark.default_integration
|
|
201
201
|
@pytest.mark.not_for_parallel_run
|
|
202
|
-
@pytest.mark.
|
|
202
|
+
@pytest.mark.api
|
|
203
203
|
def test_assistant_with_global_valid_and_user_invalid_integration(
|
|
204
204
|
assistant,
|
|
205
205
|
assistant_utils,
|
|
@@ -257,7 +257,7 @@ def test_assistant_with_global_valid_and_user_invalid_integration(
|
|
|
257
257
|
@pytest.mark.integration
|
|
258
258
|
@pytest.mark.default_integration
|
|
259
259
|
@pytest.mark.not_for_parallel_run
|
|
260
|
-
@pytest.mark.
|
|
260
|
+
@pytest.mark.api
|
|
261
261
|
def test_assistant_with_project_valid_and_user_invalid_integration(
|
|
262
262
|
assistant,
|
|
263
263
|
assistant_utils,
|
|
@@ -36,7 +36,7 @@ system_prompt_for_chatting_with_files = """Your task is to show the content of t
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
@pytest.mark.assistant
|
|
39
|
-
@pytest.mark.
|
|
39
|
+
@pytest.mark.api
|
|
40
40
|
@pytest.mark.smoke
|
|
41
41
|
def test_create_assistant(assistant_utils, default_llm):
|
|
42
42
|
response = assistant_utils.send_create_assistant_request()
|
|
@@ -47,7 +47,7 @@ def test_create_assistant(assistant_utils, default_llm):
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
@pytest.mark.assistant
|
|
50
|
-
@pytest.mark.
|
|
50
|
+
@pytest.mark.api
|
|
51
51
|
@pytest.mark.smoke
|
|
52
52
|
def test_get_all_assistants(search_utils):
|
|
53
53
|
response = search_utils.list_assistants(filters=None)
|
|
@@ -57,7 +57,7 @@ def test_get_all_assistants(search_utils):
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
@pytest.mark.assistant
|
|
60
|
-
@pytest.mark.
|
|
60
|
+
@pytest.mark.api
|
|
61
61
|
@pytest.mark.smoke
|
|
62
62
|
def test_get_prebuilt_assistants(assistant_utils):
|
|
63
63
|
response = assistant_utils.get_prebuilt_assistant()
|
|
@@ -67,7 +67,7 @@ def test_get_prebuilt_assistants(assistant_utils):
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
@pytest.mark.assistant
|
|
70
|
-
@pytest.mark.
|
|
70
|
+
@pytest.mark.api
|
|
71
71
|
@pytest.mark.smoke
|
|
72
72
|
def test_get_users_assistants(assistant_utils, search_utils):
|
|
73
73
|
assistant_utils.send_create_assistant_request()
|
|
@@ -78,7 +78,7 @@ def test_get_users_assistants(assistant_utils, search_utils):
|
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
@pytest.mark.assistant
|
|
81
|
-
@pytest.mark.
|
|
81
|
+
@pytest.mark.api
|
|
82
82
|
@pytest.mark.smoke
|
|
83
83
|
def test_get_assistant_context(assistant_utils):
|
|
84
84
|
response = assistant_utils.get_assistant_context(PROJECT)
|
|
@@ -87,7 +87,7 @@ def test_get_assistant_context(assistant_utils):
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
@pytest.mark.assistant
|
|
90
|
-
@pytest.mark.
|
|
90
|
+
@pytest.mark.api
|
|
91
91
|
@pytest.mark.smoke
|
|
92
92
|
def test_get_available_tools(assistant_utils):
|
|
93
93
|
response = assistant_utils.get_assistant_tools()
|
|
@@ -96,7 +96,7 @@ def test_get_available_tools(assistant_utils):
|
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
@pytest.mark.assistant
|
|
99
|
-
@pytest.mark.
|
|
99
|
+
@pytest.mark.api
|
|
100
100
|
@pytest.mark.smoke
|
|
101
101
|
def test_get_assistant_by_id(assistant_utils):
|
|
102
102
|
assistant_name = get_random_name()
|
|
@@ -112,7 +112,7 @@ def test_get_assistant_by_id(assistant_utils):
|
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
@pytest.mark.assistant
|
|
115
|
-
@pytest.mark.
|
|
115
|
+
@pytest.mark.api
|
|
116
116
|
@pytest.mark.smoke
|
|
117
117
|
def test_get_assistant_by_slug(assistant_utils):
|
|
118
118
|
assistant_name = get_random_name()
|
|
@@ -128,7 +128,7 @@ def test_get_assistant_by_slug(assistant_utils):
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
@pytest.mark.assistant
|
|
131
|
-
@pytest.mark.
|
|
131
|
+
@pytest.mark.api
|
|
132
132
|
@pytest.mark.smoke
|
|
133
133
|
def test_update_assistant(assistant_utils, default_llm):
|
|
134
134
|
assistant_name = get_random_name()
|
|
@@ -166,7 +166,7 @@ def test_update_assistant(assistant_utils, default_llm):
|
|
|
166
166
|
|
|
167
167
|
|
|
168
168
|
@pytest.mark.assistant
|
|
169
|
-
@pytest.mark.
|
|
169
|
+
@pytest.mark.api
|
|
170
170
|
@pytest.mark.smoke
|
|
171
171
|
def test_delete_assistant(assistant_utils, search_utils):
|
|
172
172
|
assistant_name = get_random_name()
|
|
@@ -184,7 +184,7 @@ def test_delete_assistant(assistant_utils, search_utils):
|
|
|
184
184
|
|
|
185
185
|
|
|
186
186
|
@pytest.mark.assistant
|
|
187
|
-
@pytest.mark.
|
|
187
|
+
@pytest.mark.api
|
|
188
188
|
@pytest.mark.smoke
|
|
189
189
|
def test_ask_assistant(assistant_utils):
|
|
190
190
|
test_assistant = assistant_utils.create_assistant()
|
|
@@ -203,7 +203,7 @@ def test_ask_assistant(assistant_utils):
|
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
@pytest.mark.assistant
|
|
206
|
-
@pytest.mark.
|
|
206
|
+
@pytest.mark.api
|
|
207
207
|
@pytest.mark.skip(reason="Not implemented yet")
|
|
208
208
|
def test_export_assistant(assistant_utils):
|
|
209
209
|
assistant_name = get_random_name()
|
|
@@ -220,9 +220,9 @@ def test_export_assistant(assistant_utils):
|
|
|
220
220
|
|
|
221
221
|
@pytest.mark.assistant
|
|
222
222
|
@pytest.mark.file
|
|
223
|
-
@pytest.mark.
|
|
223
|
+
@pytest.mark.api
|
|
224
224
|
@pytest.mark.smoke
|
|
225
|
-
@pytest.mark.
|
|
225
|
+
@pytest.mark.testcase("EPMCDME-4001, EPMCDME-4002, EPMCDME-2527")
|
|
226
226
|
@pytest.mark.parametrize(
|
|
227
227
|
"file_name,expected_response",
|
|
228
228
|
file_test_data,
|
|
@@ -261,7 +261,7 @@ def test_create_assistant_and_prompt_with_file(
|
|
|
261
261
|
|
|
262
262
|
|
|
263
263
|
@pytest.mark.assistant
|
|
264
|
-
@pytest.mark.
|
|
264
|
+
@pytest.mark.api
|
|
265
265
|
@pytest.mark.smoke
|
|
266
266
|
def test_assistant_has_an_access_to_the_history(
|
|
267
267
|
assistant_utils,
|
|
@@ -288,7 +288,7 @@ def test_assistant_has_an_access_to_the_history(
|
|
|
288
288
|
|
|
289
289
|
|
|
290
290
|
@pytest.mark.assistant
|
|
291
|
-
@pytest.mark.
|
|
291
|
+
@pytest.mark.api
|
|
292
292
|
@pytest.mark.smoke
|
|
293
293
|
def test_passing_history_to_chat(
|
|
294
294
|
assistant_utils,
|
|
@@ -315,7 +315,7 @@ def test_passing_history_to_chat(
|
|
|
315
315
|
|
|
316
316
|
@pytest.mark.assistant
|
|
317
317
|
@pytest.mark.file
|
|
318
|
-
@pytest.mark.
|
|
318
|
+
@pytest.mark.api
|
|
319
319
|
@pytest.mark.smoke
|
|
320
320
|
@pytest.mark.parametrize(
|
|
321
321
|
"file_name",
|
|
@@ -333,7 +333,7 @@ def test_upload_file_to_chat(
|
|
|
333
333
|
|
|
334
334
|
|
|
335
335
|
@pytest.mark.assistant
|
|
336
|
-
@pytest.mark.
|
|
336
|
+
@pytest.mark.api
|
|
337
337
|
@pytest.mark.smoke
|
|
338
338
|
def test_chat_with_pydantic_output_schema(assistant_utils, assistant):
|
|
339
339
|
class OutputSchema(BaseModel):
|
|
@@ -347,7 +347,7 @@ def test_chat_with_pydantic_output_schema(assistant_utils, assistant):
|
|
|
347
347
|
|
|
348
348
|
|
|
349
349
|
@pytest.mark.assistant
|
|
350
|
-
@pytest.mark.
|
|
350
|
+
@pytest.mark.api
|
|
351
351
|
@pytest.mark.smoke
|
|
352
352
|
def test_chat_with_json_output_schema(assistant_utils, assistant):
|
|
353
353
|
response = assistant_utils.ask_assistant(
|
|
@@ -359,7 +359,7 @@ def test_chat_with_json_output_schema(assistant_utils, assistant):
|
|
|
359
359
|
|
|
360
360
|
@pytest.mark.assistant
|
|
361
361
|
@pytest.mark.file
|
|
362
|
-
@pytest.mark.
|
|
362
|
+
@pytest.mark.api
|
|
363
363
|
@pytest.mark.smoke
|
|
364
364
|
def test_create_assistant_and_prompt_with_multiple_files(
|
|
365
365
|
assistant_utils,
|
|
@@ -398,7 +398,7 @@ def test_create_assistant_and_prompt_with_multiple_files(
|
|
|
398
398
|
|
|
399
399
|
@pytest.mark.assistant
|
|
400
400
|
@pytest.mark.file
|
|
401
|
-
@pytest.mark.
|
|
401
|
+
@pytest.mark.api
|
|
402
402
|
@pytest.mark.smoke
|
|
403
403
|
@pytest.mark.parametrize("prompt,expected_response", EXCEL_TOOL_TEST_DATA)
|
|
404
404
|
def test_excel_tool_extended_functionality(
|
|
@@ -437,7 +437,7 @@ def test_excel_tool_extended_functionality(
|
|
|
437
437
|
|
|
438
438
|
@pytest.mark.assistant
|
|
439
439
|
@pytest.mark.file
|
|
440
|
-
@pytest.mark.
|
|
440
|
+
@pytest.mark.api
|
|
441
441
|
@pytest.mark.smoke
|
|
442
442
|
@pytest.mark.parametrize("prompt,expected_response", DOCX_TOOL_TEST_DATA)
|
|
443
443
|
def test_docx_tool_extended_functionality(
|
|
@@ -18,7 +18,7 @@ from codemie_test_harness.tests.utils.json_utils import extract_id_from_ado_resp
|
|
|
18
18
|
|
|
19
19
|
@pytest.mark.assistant
|
|
20
20
|
@pytest.mark.ado
|
|
21
|
-
@pytest.mark.
|
|
21
|
+
@pytest.mark.api
|
|
22
22
|
@pytest.mark.parametrize(
|
|
23
23
|
"toolkit,tool_name,prompt,expected_response",
|
|
24
24
|
ado_test_plan_get_test_data,
|
|
@@ -50,7 +50,7 @@ def test_assistant_with_ado_test_plan_get_tools(
|
|
|
50
50
|
|
|
51
51
|
@pytest.mark.assistant
|
|
52
52
|
@pytest.mark.ado
|
|
53
|
-
@pytest.mark.
|
|
53
|
+
@pytest.mark.api
|
|
54
54
|
def test_assistant_with_ado_test_plan_tools(
|
|
55
55
|
assistant_utils,
|
|
56
56
|
assistant,
|
|
@@ -15,7 +15,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
15
15
|
|
|
16
16
|
@pytest.mark.assistant
|
|
17
17
|
@pytest.mark.ado
|
|
18
|
-
@pytest.mark.
|
|
18
|
+
@pytest.mark.api
|
|
19
19
|
@pytest.mark.parametrize(
|
|
20
20
|
"toolkit,tool_name,prompt,expected_response",
|
|
21
21
|
ado_wiki_get_test_data,
|
|
@@ -47,7 +47,7 @@ def test_assistant_with_ado_wiki_get_tools(
|
|
|
47
47
|
|
|
48
48
|
@pytest.mark.assistant
|
|
49
49
|
@pytest.mark.ado
|
|
50
|
-
@pytest.mark.
|
|
50
|
+
@pytest.mark.api
|
|
51
51
|
def test_assistant_with_ado_wiki_modify_tools(
|
|
52
52
|
assistant_utils,
|
|
53
53
|
assistant,
|
|
@@ -16,7 +16,7 @@ from codemie_test_harness.tests.utils.json_utils import extract_id_from_ado_resp
|
|
|
16
16
|
|
|
17
17
|
@pytest.mark.assistant
|
|
18
18
|
@pytest.mark.ado
|
|
19
|
-
@pytest.mark.
|
|
19
|
+
@pytest.mark.api
|
|
20
20
|
@pytest.mark.parametrize(
|
|
21
21
|
"toolkit,tool_name,prompt,expected_response",
|
|
22
22
|
ado_work_item_get_test_data,
|
|
@@ -48,7 +48,7 @@ def test_assistant_with_ado_work_item_get_tools(
|
|
|
48
48
|
|
|
49
49
|
@pytest.mark.assistant
|
|
50
50
|
@pytest.mark.ado
|
|
51
|
-
@pytest.mark.
|
|
51
|
+
@pytest.mark.api
|
|
52
52
|
def test_assistant_with_ado_work_item_modify_tools(
|
|
53
53
|
assistant_utils,
|
|
54
54
|
assistant,
|
|
@@ -5,7 +5,7 @@ from codemie_test_harness.tests.test_data.cloud_tools_test_data import cloud_tes
|
|
|
5
5
|
|
|
6
6
|
@pytest.mark.assistant
|
|
7
7
|
@pytest.mark.cloud
|
|
8
|
-
@pytest.mark.
|
|
8
|
+
@pytest.mark.api
|
|
9
9
|
@pytest.mark.parametrize(
|
|
10
10
|
"toolkit,tool_name,credential_type,credentials,prompt,expected_response",
|
|
11
11
|
cloud_test_data,
|
|
@@ -12,7 +12,7 @@ from codemie_test_harness.tests.test_data.codebase_tools_test_data import (
|
|
|
12
12
|
|
|
13
13
|
@pytest.mark.assistant
|
|
14
14
|
@pytest.mark.codebase
|
|
15
|
-
@pytest.mark.
|
|
15
|
+
@pytest.mark.api
|
|
16
16
|
@pytest.mark.parametrize(
|
|
17
17
|
"toolkit,tool_name,prompt,expected_response",
|
|
18
18
|
code_tools_test_data,
|
|
@@ -35,7 +35,7 @@ def test_assistant_with_codebase_tools(
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
@pytest.mark.assistant
|
|
38
|
-
@pytest.mark.
|
|
38
|
+
@pytest.mark.api
|
|
39
39
|
@pytest.mark.parametrize(
|
|
40
40
|
"toolkit, tool_name, credentials, prompt, expected",
|
|
41
41
|
sonar_tools_test_data,
|
|
@@ -28,7 +28,7 @@ pytestmark = pytest.mark.skipif(
|
|
|
28
28
|
|
|
29
29
|
@pytest.mark.assistant
|
|
30
30
|
@pytest.mark.elastic
|
|
31
|
-
@pytest.mark.
|
|
31
|
+
@pytest.mark.api
|
|
32
32
|
@pytest.mark.testcase("EPMCDME-6132")
|
|
33
33
|
def test_create_assistant_with_elastic_tool(
|
|
34
34
|
integration_utils, assistant, assistant_utils, similarity_check
|
|
@@ -50,7 +50,7 @@ def test_create_assistant_with_elastic_tool(
|
|
|
50
50
|
|
|
51
51
|
@pytest.mark.assistant
|
|
52
52
|
@pytest.mark.sql
|
|
53
|
-
@pytest.mark.
|
|
53
|
+
@pytest.mark.api
|
|
54
54
|
@pytest.mark.testcase("EPMCDME-6132")
|
|
55
55
|
@pytest.mark.parametrize(
|
|
56
56
|
"db_dialect",
|
|
@@ -20,7 +20,7 @@ from codemie_test_harness.tests.utils.env_resolver import EnvironmentResolver
|
|
|
20
20
|
|
|
21
21
|
@pytest.mark.assistant
|
|
22
22
|
@pytest.mark.file_management
|
|
23
|
-
@pytest.mark.
|
|
23
|
+
@pytest.mark.api
|
|
24
24
|
@pytest.mark.testcase("EPMCDME-6103")
|
|
25
25
|
@pytest.mark.parametrize(
|
|
26
26
|
"tool_name,prompt,expected_response",
|
|
@@ -46,7 +46,7 @@ def test_create_assistant_with_file_management_tool(
|
|
|
46
46
|
|
|
47
47
|
@pytest.mark.assistant
|
|
48
48
|
@pytest.mark.file_management
|
|
49
|
-
@pytest.mark.
|
|
49
|
+
@pytest.mark.api
|
|
50
50
|
@pytest.mark.testcase("EPMCDME-6103")
|
|
51
51
|
@pytest.mark.skipif(
|
|
52
52
|
EnvironmentResolver.is_localhost(), reason="Skipping this test on local environment"
|
|
@@ -73,7 +73,7 @@ def test_create_assistant_with_file_management_generate_image_tool(
|
|
|
73
73
|
|
|
74
74
|
@pytest.mark.assistant
|
|
75
75
|
@pytest.mark.file_management
|
|
76
|
-
@pytest.mark.
|
|
76
|
+
@pytest.mark.api
|
|
77
77
|
@pytest.mark.testcase("EPMCDME-6103")
|
|
78
78
|
def test_create_assistant_with_file_management_read_file_tool(
|
|
79
79
|
filesystem_integration, assistant, assistant_utils, similarity_check
|
|
@@ -94,7 +94,7 @@ def test_create_assistant_with_file_management_read_file_tool(
|
|
|
94
94
|
@pytest.mark.skip(reason="Tests are flaky, tools work unstable")
|
|
95
95
|
@pytest.mark.assistant
|
|
96
96
|
@pytest.mark.file_management
|
|
97
|
-
@pytest.mark.
|
|
97
|
+
@pytest.mark.api
|
|
98
98
|
@pytest.mark.parametrize(
|
|
99
99
|
"tool_name,expected_response",
|
|
100
100
|
file_editing_tools_test_data,
|
|
@@ -15,7 +15,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name, to_came
|
|
|
15
15
|
|
|
16
16
|
@pytest.mark.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,
|
|
@@ -46,7 +46,7 @@ def test_assistant_with_list_branch_set_active_branch_tools(
|
|
|
46
46
|
|
|
47
47
|
@pytest.mark.assistant
|
|
48
48
|
@pytest.mark.gitlab
|
|
49
|
-
@pytest.mark.
|
|
49
|
+
@pytest.mark.api
|
|
50
50
|
@pytest.mark.parametrize(
|
|
51
51
|
"toolkit,tool_name,prompt_template,expected_template",
|
|
52
52
|
create_branch_test_data,
|
|
@@ -92,7 +92,7 @@ def test_assistant_with_create_branch_tool(
|
|
|
92
92
|
|
|
93
93
|
@pytest.mark.assistant
|
|
94
94
|
@pytest.mark.gitlab
|
|
95
|
-
@pytest.mark.
|
|
95
|
+
@pytest.mark.api
|
|
96
96
|
@pytest.mark.parametrize(
|
|
97
97
|
"toolkit,tool_name,prompt_template,expected_template,expected_content_template",
|
|
98
98
|
create_file_test_data,
|
|
@@ -140,7 +140,7 @@ def test_assistant_with_create_file_tool(
|
|
|
140
140
|
|
|
141
141
|
@pytest.mark.assistant
|
|
142
142
|
@pytest.mark.gitlab
|
|
143
|
-
@pytest.mark.
|
|
143
|
+
@pytest.mark.api
|
|
144
144
|
@pytest.mark.parametrize(
|
|
145
145
|
"toolkit,tool_name,prompt_template,expected_template",
|
|
146
146
|
create_merge_request_test_data,
|
|
@@ -184,7 +184,7 @@ def test_assistant_with_create_merge_request_tool(
|
|
|
184
184
|
|
|
185
185
|
@pytest.mark.assistant
|
|
186
186
|
@pytest.mark.gitlab
|
|
187
|
-
@pytest.mark.
|
|
187
|
+
@pytest.mark.api
|
|
188
188
|
@pytest.mark.parametrize(
|
|
189
189
|
"toolkit,tool_name,prompt_template,expected_template,file_content_template",
|
|
190
190
|
delete_file_test_data,
|
|
@@ -247,7 +247,7 @@ def test_assistant_with_delete_file_tool(
|
|
|
247
247
|
|
|
248
248
|
@pytest.mark.assistant
|
|
249
249
|
@pytest.mark.gitlab
|
|
250
|
-
@pytest.mark.
|
|
250
|
+
@pytest.mark.api
|
|
251
251
|
@pytest.mark.parametrize(
|
|
252
252
|
"toolkit,tool_name,create_mr_prompt_template,create_mr_expected_template,get_mr_changes_prompt_template,get_mr_changes_expected_template",
|
|
253
253
|
get_merge_request_changes_test_data,
|
|
@@ -304,7 +304,7 @@ def test_assistant_with_get_merge_request_changes_tool(
|
|
|
304
304
|
|
|
305
305
|
@pytest.mark.assistant
|
|
306
306
|
@pytest.mark.gitlab
|
|
307
|
-
@pytest.mark.
|
|
307
|
+
@pytest.mark.api
|
|
308
308
|
@pytest.mark.parametrize(
|
|
309
309
|
"toolkit,tool_name,create_prompt_template,create_expected_template,created_content_template,update_prompt_template,update_expected_template,updated_content_template",
|
|
310
310
|
update_file_test_data,
|
|
@@ -21,7 +21,7 @@ pytestmark = pytest.mark.skipif(
|
|
|
21
21
|
|
|
22
22
|
@pytest.mark.assistant
|
|
23
23
|
@pytest.mark.mcp
|
|
24
|
-
@pytest.mark.
|
|
24
|
+
@pytest.mark.api
|
|
25
25
|
@pytest.mark.parametrize(
|
|
26
26
|
"command,expected_answer",
|
|
27
27
|
cli_mcp_server_test_data,
|
|
@@ -41,7 +41,7 @@ def test_cli_mcp_server(
|
|
|
41
41
|
|
|
42
42
|
@pytest.mark.assistant
|
|
43
43
|
@pytest.mark.mcp
|
|
44
|
-
@pytest.mark.
|
|
44
|
+
@pytest.mark.api
|
|
45
45
|
def test_env_var_in_mcp_server(
|
|
46
46
|
assistant_utils, assistant, similarity_check, integration_utils
|
|
47
47
|
):
|
|
@@ -18,7 +18,7 @@ pytestmark = pytest.mark.skipif(
|
|
|
18
18
|
|
|
19
19
|
@pytest.mark.assistant
|
|
20
20
|
@pytest.mark.mcp
|
|
21
|
-
@pytest.mark.
|
|
21
|
+
@pytest.mark.api
|
|
22
22
|
@pytest.mark.parametrize(
|
|
23
23
|
"mcp_server",
|
|
24
24
|
time_mcp_server_test_data,
|
|
@@ -41,7 +41,7 @@ def test_creation_mcp_server_with_form_configuration(
|
|
|
41
41
|
|
|
42
42
|
@pytest.mark.assistant
|
|
43
43
|
@pytest.mark.mcp
|
|
44
|
-
@pytest.mark.
|
|
44
|
+
@pytest.mark.api
|
|
45
45
|
def test_fetch_mcp_server(assistant_utils, assistant, similarity_check):
|
|
46
46
|
assistant = assistant(mcp_server=FETCH_MCP_SERVER)
|
|
47
47
|
|
codemie_test_harness/tests/assistant/tools/notification/test_assistant_notification_tools.py
CHANGED
|
@@ -19,7 +19,7 @@ from codemie_test_harness.tests.test_data.notification_tools_test_data import (
|
|
|
19
19
|
@pytest.mark.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",
|
|
@@ -65,7 +65,7 @@ def test_assistant_with_email_tool(
|
|
|
65
65
|
@pytest.mark.assistant
|
|
66
66
|
@pytest.mark.notification
|
|
67
67
|
@pytest.mark.telegram
|
|
68
|
-
@pytest.mark.
|
|
68
|
+
@pytest.mark.api
|
|
69
69
|
def test_assistant_with_telegram_tool(
|
|
70
70
|
assistant, assistant_utils, similarity_check, integration_utils
|
|
71
71
|
):
|
|
@@ -10,7 +10,7 @@ from codemie_test_harness.tests.test_data.open_api_tools_test_data import (
|
|
|
10
10
|
|
|
11
11
|
@pytest.mark.assistant
|
|
12
12
|
@pytest.mark.openapi
|
|
13
|
-
@pytest.mark.
|
|
13
|
+
@pytest.mark.api
|
|
14
14
|
@pytest.mark.testcase("EPMCDME-6127")
|
|
15
15
|
@pytest.mark.skipif(
|
|
16
16
|
EnvironmentResolver.is_azure(),
|
|
@@ -13,7 +13,7 @@ from codemie_test_harness.tests.utils.constants import TESTS_PATH
|
|
|
13
13
|
|
|
14
14
|
@pytest.mark.assistant
|
|
15
15
|
@pytest.mark.plugin
|
|
16
|
-
@pytest.mark.
|
|
16
|
+
@pytest.mark.api
|
|
17
17
|
@pytest.mark.parametrize(
|
|
18
18
|
"prompt,expected_response,tool_name",
|
|
19
19
|
list_files_plugin_tools_test_data,
|
|
@@ -37,7 +37,7 @@ def test_assistant_with_list_files_plugin_tools(
|
|
|
37
37
|
|
|
38
38
|
@pytest.mark.assistant
|
|
39
39
|
@pytest.mark.plugin
|
|
40
|
-
@pytest.mark.
|
|
40
|
+
@pytest.mark.api
|
|
41
41
|
@pytest.mark.plugin
|
|
42
42
|
def test_assistant_with_modify_files_plugin_tools(
|
|
43
43
|
assistant_utils,
|
codemie_test_harness/tests/assistant/tools/plugin/test_assistant_with_plugin_and_mcp_servers.py
CHANGED
|
@@ -13,7 +13,7 @@ from codemie_test_harness.tests.utils.constants import TESTS_PATH
|
|
|
13
13
|
@pytest.mark.assistant
|
|
14
14
|
@pytest.mark.plugin
|
|
15
15
|
@pytest.mark.mcp
|
|
16
|
-
@pytest.mark.
|
|
16
|
+
@pytest.mark.api
|
|
17
17
|
@pytest.mark.parametrize(
|
|
18
18
|
"prompt,expected_response",
|
|
19
19
|
cli_mcp_server_with_plugin_test_data,
|
|
@@ -36,7 +36,7 @@ def test_assistant_with_plugin_and_cli_mcp_server(
|
|
|
36
36
|
@pytest.mark.assistant
|
|
37
37
|
@pytest.mark.plugin
|
|
38
38
|
@pytest.mark.mcp
|
|
39
|
-
@pytest.mark.
|
|
39
|
+
@pytest.mark.api
|
|
40
40
|
@pytest.mark.parametrize(
|
|
41
41
|
"prompt,expected_response,tool_name",
|
|
42
42
|
filesystem_mcp_server_with_plugin_test_data,
|
codemie_test_harness/tests/assistant/tools/{mcp → plugin}/test_single_assistant_dual_time_plugins.py
RENAMED
|
@@ -144,7 +144,7 @@ def dual_time_plugins(integration_utils):
|
|
|
144
144
|
@pytest.mark.assistant
|
|
145
145
|
@pytest.mark.mcp
|
|
146
146
|
@pytest.mark.plugin
|
|
147
|
-
@pytest.mark.
|
|
147
|
+
@pytest.mark.api
|
|
148
148
|
@pytest.mark.parametrize(
|
|
149
149
|
"prompt,expected_response",
|
|
150
150
|
dual_time_plugin_test_data,
|
|
@@ -22,7 +22,7 @@ from codemie_test_harness.tests.utils.constants import (
|
|
|
22
22
|
|
|
23
23
|
@pytest.mark.assistant
|
|
24
24
|
@pytest.mark.project_management
|
|
25
|
-
@pytest.mark.
|
|
25
|
+
@pytest.mark.api
|
|
26
26
|
@pytest.mark.parametrize(
|
|
27
27
|
"tool_name, integration_type, prompt, expected_response",
|
|
28
28
|
pm_tools_test_data,
|
|
@@ -55,7 +55,7 @@ def test_assistant_with_project_management_tools(
|
|
|
55
55
|
@pytest.mark.assistant
|
|
56
56
|
@pytest.mark.project_management
|
|
57
57
|
@pytest.mark.jira
|
|
58
|
-
@pytest.mark.
|
|
58
|
+
@pytest.mark.api
|
|
59
59
|
def test_assistant_with_jira_tool_and_integration_id_in_chat(
|
|
60
60
|
assistant, assistant_utils, integration_utils, similarity_check, jira_integration
|
|
61
61
|
):
|
|
@@ -81,7 +81,7 @@ def test_assistant_with_jira_tool_and_integration_id_in_chat(
|
|
|
81
81
|
@pytest.mark.assistant
|
|
82
82
|
@pytest.mark.project_management
|
|
83
83
|
@pytest.mark.jira
|
|
84
|
-
@pytest.mark.
|
|
84
|
+
@pytest.mark.api
|
|
85
85
|
def test_assistant_with_jira_tool_and_credentials_in_chat(
|
|
86
86
|
assistant, assistant_utils, integration_utils, similarity_check
|
|
87
87
|
):
|
|
@@ -104,7 +104,7 @@ def test_assistant_with_jira_tool_and_credentials_in_chat(
|
|
|
104
104
|
@pytest.mark.assistant
|
|
105
105
|
@pytest.mark.project_management
|
|
106
106
|
@pytest.mark.confluence
|
|
107
|
-
@pytest.mark.
|
|
107
|
+
@pytest.mark.api
|
|
108
108
|
def test_assistant_with_confluence_tool_and_integration_id_in_chat(
|
|
109
109
|
assistant,
|
|
110
110
|
assistant_utils,
|
|
@@ -134,7 +134,7 @@ def test_assistant_with_confluence_tool_and_integration_id_in_chat(
|
|
|
134
134
|
@pytest.mark.assistant
|
|
135
135
|
@pytest.mark.project_management
|
|
136
136
|
@pytest.mark.confluence
|
|
137
|
-
@pytest.mark.
|
|
137
|
+
@pytest.mark.api
|
|
138
138
|
def test_assistant_with_confluence_tool_and_credentials_in_chat(
|
|
139
139
|
assistant, assistant_utils, integration_utils, similarity_check
|
|
140
140
|
):
|
|
@@ -154,7 +154,7 @@ def test_assistant_with_confluence_tool_and_credentials_in_chat(
|
|
|
154
154
|
@pytest.mark.assistant
|
|
155
155
|
@pytest.mark.project_management
|
|
156
156
|
@pytest.mark.confluence
|
|
157
|
-
@pytest.mark.
|
|
157
|
+
@pytest.mark.api
|
|
158
158
|
@pytest.mark.skip(reason="Test should be fixed")
|
|
159
159
|
def test_assistant_with_confluence_tool_and_without_credentials(
|
|
160
160
|
assistant, assistant_utils, similarity_check
|