codemie-test-harness 0.1.156__py3-none-any.whl → 0.1.158__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/tests/assistant/datasource/test_code_datasource.py +6 -0
- codemie_test_harness/tests/assistant/datasource/test_confluence_datasource.py +14 -2
- codemie_test_harness/tests/assistant/datasource/test_file_indexing.py +10 -0
- codemie_test_harness/tests/assistant/datasource/test_google_datasource.py +6 -0
- codemie_test_harness/tests/assistant/datasource/test_jira_datasource.py +18 -2
- codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool.py +10 -0
- codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_kit.py +10 -0
- codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_with_datasource.py +10 -0
- codemie_test_harness/tests/assistant/test_assistants.py +24 -2
- codemie_test_harness/tests/assistant/tools/access_management/test_keycloak_tool.py +2 -0
- codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_test_plan_tools.py +4 -0
- codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_wiki_tools.py +4 -0
- codemie_test_harness/tests/assistant/tools/ado/test_assistant_for_ado_work_item_tools.py +4 -0
- codemie_test_harness/tests/assistant/tools/cloud/test_cloud_tools.py +2 -0
- codemie_test_harness/tests/assistant/tools/codebase/test_codebase_tools.py +3 -0
- codemie_test_harness/tests/assistant/tools/datamanagement/test_assistant_with_data_management_tools.py +9 -1
- codemie_test_harness/tests/assistant/tools/filemanagement/test_assistant_with_file_management_tools.py +9 -1
- codemie_test_harness/tests/assistant/tools/git/test_assistant_with_git_tools.py +14 -0
- codemie_test_harness/tests/assistant/tools/mcp/test_cli_mcp_server.py +8 -6
- codemie_test_harness/tests/assistant/tools/mcp/test_mcp_servers.py +8 -6
- codemie_test_harness/tests/assistant/tools/notification/test_assistant_notification_tools.py +6 -0
- codemie_test_harness/tests/assistant/tools/openapi/test_assistant_with_open_api_tools.py +6 -4
- codemie_test_harness/tests/assistant/tools/plugin/test_assistant_with_development_plugin.py +4 -1
- codemie_test_harness/tests/assistant/tools/plugin/test_assistant_with_plugin_and_mcp_servers.py +6 -2
- codemie_test_harness/tests/assistant/tools/project_management/test_assistant_pm_tools.py +17 -0
- codemie_test_harness/tests/assistant/tools/research/test_assistant_research_tools.py +4 -0
- codemie_test_harness/tests/assistant/tools/servicenow/test_servicenow_tools.py +2 -0
- codemie_test_harness/tests/assistant/tools/vcs/test_assistant_with_vcs_tools.py +3 -1
- codemie_test_harness/tests/conversations/test_conversations_endpoints.py +10 -0
- codemie_test_harness/tests/e2e/test_e2e.py +24 -8
- codemie_test_harness/tests/integrations/project/test_default_integrations.py +41 -4
- codemie_test_harness/tests/integrations/project/test_project_integrations.py +23 -9
- codemie_test_harness/tests/integrations/user/test_default_integrations.py +40 -4
- codemie_test_harness/tests/integrations/user/test_user_integrations.py +26 -12
- codemie_test_harness/tests/llm/assistants/test_llm.py +8 -0
- codemie_test_harness/tests/providers/test_providers_endpoints.py +11 -0
- codemie_test_harness/tests/search/test_search_assistant.py +2 -0
- codemie_test_harness/tests/search/test_search_datasource.py +10 -0
- codemie_test_harness/tests/search/test_search_integration.py +6 -0
- codemie_test_harness/tests/search/test_search_workflow.py +2 -0
- codemie_test_harness/tests/test_data/cloud_tools_test_data.py +18 -10
- codemie_test_harness/tests/test_data/codebase_tools_test_data.py +6 -2
- codemie_test_harness/tests/test_data/data_management_tools_test_data.py +4 -37
- codemie_test_harness/tests/test_data/direct_tools/cloud_tools_test_data.py +18 -10
- codemie_test_harness/tests/test_data/direct_tools/codebase_tools_test_data.py +6 -2
- codemie_test_harness/tests/test_data/direct_tools/data_management_tools_test_data.py +1 -1
- codemie_test_harness/tests/test_data/direct_tools/notification_tools_test_data.py +9 -5
- codemie_test_harness/tests/test_data/direct_tools/project_management_tools_test_data.py +6 -2
- codemie_test_harness/tests/test_data/direct_tools/vcs_tools_test_data.py +6 -2
- codemie_test_harness/tests/test_data/integrations_test_data.py +185 -65
- codemie_test_harness/tests/test_data/project_management_test_data.py +10 -4
- codemie_test_harness/tests/test_data/vcs_tools_test_data.py +8 -2
- codemie_test_harness/tests/ui/test_create_workflow.py +13 -0
- codemie_test_harness/tests/ui/test_edit_workflow.py +16 -0
- codemie_test_harness/tests/ui/test_workflow_details.py +17 -0
- codemie_test_harness/tests/ui/test_workflow_executions_page.py +36 -0
- codemie_test_harness/tests/ui/test_workflow_templates.py +8 -0
- codemie_test_harness/tests/ui/test_workflows.py +8 -0
- codemie_test_harness/tests/workflow/assistant_tools/access_management/test_workflow_with_assistant_with_keycloak_tool.py +3 -0
- codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_test_plan_tools.py +6 -0
- codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_wiki_tools.py +6 -0
- codemie_test_harness/tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_work_item_tools.py +6 -0
- codemie_test_harness/tests/workflow/assistant_tools/cloud/test_workflow_with_assistant_cloud_tools.py +3 -0
- codemie_test_harness/tests/workflow/assistant_tools/codebase/test_worfklow_with_assistant_codebase_tools.py +5 -0
- codemie_test_harness/tests/workflow/assistant_tools/data_management/test_workflow_with_assistant_with_data_management_tools.py +10 -5
- codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool.py +20 -0
- codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +20 -0
- codemie_test_harness/tests/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +25 -0
- codemie_test_harness/tests/workflow/assistant_tools/file_management/test_workflow_with_assistant_with_file_management_tools.py +15 -0
- codemie_test_harness/tests/workflow/assistant_tools/git/test_workflow_with_assistant_git_tools.py +21 -0
- codemie_test_harness/tests/workflow/assistant_tools/mcp/test_workflow_with_assistant_with_mcp_server.py +9 -3
- codemie_test_harness/tests/workflow/assistant_tools/notification/test_workflow_with_assistant_notification_tools.py +8 -0
- codemie_test_harness/tests/workflow/assistant_tools/open_api/test_workflow_with_assistant_with_open_api_tools.py +3 -0
- codemie_test_harness/tests/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_development_plugin.py +6 -2
- codemie_test_harness/tests/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_plugin_and_mcp_servers.py +8 -2
- codemie_test_harness/tests/workflow/assistant_tools/project_management/test_workflow_with_assistant_pm_tools.py +3 -0
- codemie_test_harness/tests/workflow/assistant_tools/research/test_workflow_with_assistant_research_tools.py +6 -0
- codemie_test_harness/tests/workflow/assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +3 -0
- codemie_test_harness/tests/workflow/assistant_tools/vcs/workflow_with_assistant_vcs_tools.py +3 -0
- codemie_test_harness/tests/workflow/config_validation/test_config_validation.py +4 -3
- codemie_test_harness/tests/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool.py +17 -2
- codemie_test_harness/tests/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool_kit.py +15 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_access_management_tool.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_test_plan_tools.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_wiki_tools.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_work_item_tools.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_cloud_tools.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_codebase_tools.py +6 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/{test_workflow_with_data_management_tools.py → test_workflow_with_data_management_tools_sql.py} +10 -1
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_file_management_tools.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_notification_tools.py +3 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_open_api_tools.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_plugin_tools.py +12 -4
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_project_management_tools.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_research_tools.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_servicenow_tools.py +9 -0
- codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_vcs_tools.py +3 -0
- codemie_test_harness/tests/workflow/test_workflows.py +1 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/access_management/test_workflow_with_keycloak_tool.py +3 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_test_plan_tools.py +6 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_wiki_tools.py +6 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_work_item_tools.py +6 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py +3 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/codebase/test_workflow_with_codebase_tools.py +5 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/data_management/test_workflow_with_data_management_tools.py +10 -5
- codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool.py +20 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +20 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +25 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/file_management/test_workflow_with_file_management_tools.py +15 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/git/test_workflow_with_git_tools.py +21 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/mcp/test_workflow_with_mcp_server.py +12 -6
- codemie_test_harness/tests/workflow/virtual_assistant_tools/notification/test_workflow_with_notification_tools.py +8 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/open_api/test_workflow_with_open_api_tools.py +6 -3
- codemie_test_harness/tests/workflow/virtual_assistant_tools/plugin/test_workflow_with_development_plugin.py +6 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/plugin/test_workflow_with_plugin_and_mcp_servers.py +8 -2
- codemie_test_harness/tests/workflow/virtual_assistant_tools/project_management/test_workflow_with_project_management_tools.py +3 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/research/test_workflow_with_research_tools.py +6 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +3 -0
- codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py +3 -0
- {codemie_test_harness-0.1.156.dist-info → codemie_test_harness-0.1.158.dist-info}/METADATA +2 -2
- {codemie_test_harness-0.1.156.dist-info → codemie_test_harness-0.1.158.dist-info}/RECORD +123 -123
- {codemie_test_harness-0.1.156.dist-info → codemie_test_harness-0.1.158.dist-info}/WHEEL +0 -0
- {codemie_test_harness-0.1.156.dist-info → codemie_test_harness-0.1.158.dist-info}/entry_points.txt +0 -0
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_ado_work_item_tools.py
CHANGED
|
@@ -10,6 +10,9 @@ from codemie_test_harness.tests.test_data.direct_tools.ado_work_item_tools_test_
|
|
|
10
10
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
@pytest.mark.workflow
|
|
14
|
+
@pytest.mark.direct_tool
|
|
15
|
+
@pytest.mark.ado
|
|
13
16
|
@pytest.mark.regression
|
|
14
17
|
@pytest.mark.testcase("EPMCDME-5384")
|
|
15
18
|
@pytest.mark.parametrize(
|
|
@@ -39,6 +42,9 @@ def test_workflow_with_ado_work_item_get_tools_direct(
|
|
|
39
42
|
similarity_check.check_similarity(response, expected_response, 95)
|
|
40
43
|
|
|
41
44
|
|
|
45
|
+
@pytest.mark.workflow
|
|
46
|
+
@pytest.mark.direct_tool
|
|
47
|
+
@pytest.mark.ado
|
|
42
48
|
@pytest.mark.regression
|
|
43
49
|
@pytest.mark.testcase("EPMCDME-5384")
|
|
44
50
|
@pytest.mark.parametrize(
|
|
@@ -66,6 +72,9 @@ def test_workflow_with_ado_work_item_get_tools_with_hardcoded_args(
|
|
|
66
72
|
similarity_check.check_similarity(response, expected_response, 95)
|
|
67
73
|
|
|
68
74
|
|
|
75
|
+
@pytest.mark.workflow
|
|
76
|
+
@pytest.mark.direct_tool
|
|
77
|
+
@pytest.mark.ado
|
|
69
78
|
@pytest.mark.regression
|
|
70
79
|
@pytest.mark.testcase("EPMCDME-5384")
|
|
71
80
|
@pytest.mark.parametrize(
|
|
@@ -11,6 +11,9 @@ from codemie_test_harness.tests.test_data.direct_tools.cloud_tools_test_data imp
|
|
|
11
11
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
@pytest.mark.workflow
|
|
15
|
+
@pytest.mark.direct_tool
|
|
16
|
+
@pytest.mark.cloud
|
|
14
17
|
@pytest.mark.regression
|
|
15
18
|
@pytest.mark.parametrize(
|
|
16
19
|
"toolkit,tool_name,credential_type,credentials,prompt,expected_response",
|
|
@@ -48,6 +51,9 @@ def test_workflow_with_cloud_tools_direct(
|
|
|
48
51
|
similarity_check.check_similarity(response, expected_response)
|
|
49
52
|
|
|
50
53
|
|
|
54
|
+
@pytest.mark.workflow
|
|
55
|
+
@pytest.mark.direct_tool
|
|
56
|
+
@pytest.mark.cloud
|
|
51
57
|
@pytest.mark.regression
|
|
52
58
|
@pytest.mark.parametrize(
|
|
53
59
|
"toolkit,tool_name,credential_type,credentials,prompt,expected_response",
|
|
@@ -83,6 +89,9 @@ def test_workflow_with_cloud_tools_with_hardcoded_args(
|
|
|
83
89
|
similarity_check.check_similarity(response, expected_response)
|
|
84
90
|
|
|
85
91
|
|
|
92
|
+
@pytest.mark.workflow
|
|
93
|
+
@pytest.mark.direct_tool
|
|
94
|
+
@pytest.mark.cloud
|
|
86
95
|
@pytest.mark.regression
|
|
87
96
|
@pytest.mark.parametrize(
|
|
88
97
|
"toolkit,tool_name,credential_type,credentials,prompt,expected_response",
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_codebase_tools.py
CHANGED
|
@@ -13,6 +13,8 @@ from codemie_test_harness.tests.utils.aws_parameters_store import CredentialsUti
|
|
|
13
13
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
@pytest.mark.workflow
|
|
17
|
+
@pytest.mark.direct_tool
|
|
16
18
|
@pytest.mark.regression
|
|
17
19
|
@pytest.mark.parametrize(
|
|
18
20
|
"toolkit, tool_name, prompt, expected_response",
|
|
@@ -51,6 +53,8 @@ def test_workflow_with_sonar_tools_direct(
|
|
|
51
53
|
similarity_check.check_similarity(response, expected_response)
|
|
52
54
|
|
|
53
55
|
|
|
56
|
+
@pytest.mark.workflow
|
|
57
|
+
@pytest.mark.direct_tool
|
|
54
58
|
@pytest.mark.regression
|
|
55
59
|
@pytest.mark.parametrize(
|
|
56
60
|
"toolkit, tool_name, prompt, expected_response",
|
|
@@ -90,6 +94,8 @@ def test_workflow_with_sonar_tools_with_hardcoded_args(
|
|
|
90
94
|
similarity_check.check_similarity(response, expected_response)
|
|
91
95
|
|
|
92
96
|
|
|
97
|
+
@pytest.mark.workflow
|
|
98
|
+
@pytest.mark.direct_tool
|
|
93
99
|
@pytest.mark.regression
|
|
94
100
|
@pytest.mark.parametrize(
|
|
95
101
|
"toolkit, tool_name, prompt, expected_response",
|
|
@@ -4,9 +4,9 @@ import os
|
|
|
4
4
|
import random
|
|
5
5
|
|
|
6
6
|
import pytest
|
|
7
|
+
from codemie_sdk.models.integration import CredentialTypes
|
|
7
8
|
from hamcrest import assert_that, contains_inanyorder
|
|
8
9
|
|
|
9
|
-
from codemie_sdk.models.integration import CredentialTypes
|
|
10
10
|
from codemie_test_harness.tests.test_data.direct_tools.data_management_tools_test_data import (
|
|
11
11
|
sql_tools_test_data,
|
|
12
12
|
)
|
|
@@ -18,6 +18,9 @@ pytestmark = pytest.mark.skipif(
|
|
|
18
18
|
)
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
@pytest.mark.workflow
|
|
22
|
+
@pytest.mark.direct_tool
|
|
23
|
+
@pytest.mark.sql
|
|
21
24
|
@pytest.mark.regression
|
|
22
25
|
@pytest.mark.parametrize(
|
|
23
26
|
"toolkit,tool_name,db_dialect,prompt,expected_response",
|
|
@@ -56,6 +59,9 @@ def test_workflow_with_sql_tools_direct(
|
|
|
56
59
|
assert_that(filtered_response, contains_inanyorder(*expected_response))
|
|
57
60
|
|
|
58
61
|
|
|
62
|
+
@pytest.mark.workflow
|
|
63
|
+
@pytest.mark.direct_tool
|
|
64
|
+
@pytest.mark.sql
|
|
59
65
|
@pytest.mark.regression
|
|
60
66
|
@pytest.mark.parametrize(
|
|
61
67
|
"toolkit,tool_name,db_dialect,prompt,expected_response",
|
|
@@ -95,6 +101,9 @@ def test_workflow_with_sql_tools_with_hardcoded_args(
|
|
|
95
101
|
assert_that(filtered_response, contains_inanyorder(*expected_response))
|
|
96
102
|
|
|
97
103
|
|
|
104
|
+
@pytest.mark.workflow
|
|
105
|
+
@pytest.mark.direct_tool
|
|
106
|
+
@pytest.mark.sql
|
|
98
107
|
@pytest.mark.regression
|
|
99
108
|
@pytest.mark.parametrize(
|
|
100
109
|
"toolkit,tool_name,db_dialect,prompt,expected_response",
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_file_management_tools.py
CHANGED
|
@@ -9,6 +9,9 @@ from codemie_test_harness.tests.test_data.direct_tools.file_management_tools_tes
|
|
|
9
9
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
10
10
|
|
|
11
11
|
|
|
12
|
+
@pytest.mark.workflow
|
|
13
|
+
@pytest.mark.direct_tool
|
|
14
|
+
@pytest.mark.file_management
|
|
12
15
|
@pytest.mark.regression
|
|
13
16
|
@pytest.mark.parametrize(
|
|
14
17
|
"tool, prompt, expected_response",
|
|
@@ -34,6 +37,9 @@ def test_workflow_with_file_management_tools_direct(
|
|
|
34
37
|
similarity_check.check_similarity(response, expected_response, 85)
|
|
35
38
|
|
|
36
39
|
|
|
40
|
+
@pytest.mark.workflow
|
|
41
|
+
@pytest.mark.direct_tool
|
|
42
|
+
@pytest.mark.file_management
|
|
37
43
|
@pytest.mark.regression
|
|
38
44
|
@pytest.mark.parametrize(
|
|
39
45
|
"tool, prompt, expected_response",
|
|
@@ -58,6 +64,9 @@ def test_workflow_with_file_management_tools_with_hardcoded_args(
|
|
|
58
64
|
similarity_check.check_similarity(response, expected_response, 85)
|
|
59
65
|
|
|
60
66
|
|
|
67
|
+
@pytest.mark.workflow
|
|
68
|
+
@pytest.mark.direct_tool
|
|
69
|
+
@pytest.mark.file_management
|
|
61
70
|
@pytest.mark.regression
|
|
62
71
|
@pytest.mark.parametrize(
|
|
63
72
|
"tool, prompt, expected_response",
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_notification_tools.py
CHANGED
|
@@ -11,6 +11,9 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
11
11
|
from codemie_test_harness.tests.utils.constants import notification_integrations
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
@pytest.mark.workflow
|
|
15
|
+
@pytest.mark.direct_tool
|
|
16
|
+
@pytest.mark.notification
|
|
14
17
|
@pytest.mark.regression
|
|
15
18
|
@pytest.mark.parametrize(
|
|
16
19
|
"tool, prompt, expected_response",
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_open_api_tools.py
CHANGED
|
@@ -15,6 +15,9 @@ pytestmark = pytest.mark.skipif(
|
|
|
15
15
|
)
|
|
16
16
|
|
|
17
17
|
|
|
18
|
+
@pytest.mark.workflow
|
|
19
|
+
@pytest.mark.direct_tool
|
|
20
|
+
@pytest.mark.openapi
|
|
18
21
|
@pytest.mark.regression
|
|
19
22
|
@pytest.mark.testcase("EPMCDME-6560")
|
|
20
23
|
@pytest.mark.parametrize(
|
|
@@ -43,6 +46,9 @@ def test_workflow_with_open_api_tools_direct(
|
|
|
43
46
|
similarity_check.check_similarity(response, expected_response, 90)
|
|
44
47
|
|
|
45
48
|
|
|
49
|
+
@pytest.mark.workflow
|
|
50
|
+
@pytest.mark.direct_tool
|
|
51
|
+
@pytest.mark.openapi
|
|
46
52
|
@pytest.mark.regression
|
|
47
53
|
@pytest.mark.testcase("EPMCDME-6560")
|
|
48
54
|
@pytest.mark.parametrize(
|
|
@@ -72,6 +78,9 @@ def test_workflow_with_open_api_tools_with_hardcoded_args(
|
|
|
72
78
|
similarity_check.check_similarity(response, expected_response, 90)
|
|
73
79
|
|
|
74
80
|
|
|
81
|
+
@pytest.mark.workflow
|
|
82
|
+
@pytest.mark.direct_tool
|
|
83
|
+
@pytest.mark.openapi
|
|
75
84
|
@pytest.mark.regression
|
|
76
85
|
@pytest.mark.testcase("EPMCDME-6563")
|
|
77
86
|
@pytest.mark.parametrize(
|
|
@@ -30,8 +30,10 @@ def prepare_files():
|
|
|
30
30
|
os.remove(test_file)
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
@pytest.mark.
|
|
33
|
+
@pytest.mark.workflow
|
|
34
|
+
@pytest.mark.direct_tool
|
|
34
35
|
@pytest.mark.plugin
|
|
36
|
+
@pytest.mark.regression
|
|
35
37
|
@pytest.mark.parametrize(
|
|
36
38
|
"tool_name,prompt,expected_response",
|
|
37
39
|
cli_tools_test_data,
|
|
@@ -58,8 +60,10 @@ def test_workflow_with_cli_tools(
|
|
|
58
60
|
similarity_check.check_similarity(response, expected_response, 80)
|
|
59
61
|
|
|
60
62
|
|
|
61
|
-
@pytest.mark.
|
|
63
|
+
@pytest.mark.workflow
|
|
64
|
+
@pytest.mark.direct_tool
|
|
62
65
|
@pytest.mark.plugin
|
|
66
|
+
@pytest.mark.regression
|
|
63
67
|
@pytest.mark.parametrize(
|
|
64
68
|
"tool_name,prompt,expected_response",
|
|
65
69
|
dev_plugin_tools_test_data,
|
|
@@ -86,8 +90,10 @@ def test_workflow_with_plugin_tools(
|
|
|
86
90
|
similarity_check.check_similarity(response, expected_response, 80)
|
|
87
91
|
|
|
88
92
|
|
|
89
|
-
@pytest.mark.
|
|
93
|
+
@pytest.mark.workflow
|
|
94
|
+
@pytest.mark.direct_tool
|
|
90
95
|
@pytest.mark.plugin
|
|
96
|
+
@pytest.mark.regression
|
|
91
97
|
@pytest.mark.parametrize(
|
|
92
98
|
"tool_name,prompt,expected_response",
|
|
93
99
|
cli_tools_test_data,
|
|
@@ -113,8 +119,10 @@ def test_workflow_with_cli_tools_with_hardcoded_args(
|
|
|
113
119
|
similarity_check.check_similarity(response, expected_response, 80)
|
|
114
120
|
|
|
115
121
|
|
|
116
|
-
@pytest.mark.
|
|
122
|
+
@pytest.mark.workflow
|
|
123
|
+
@pytest.mark.direct_tool
|
|
117
124
|
@pytest.mark.plugin
|
|
125
|
+
@pytest.mark.regression
|
|
118
126
|
@pytest.mark.parametrize(
|
|
119
127
|
"tool_name,prompt,expected_response",
|
|
120
128
|
cli_tools_test_data,
|
|
@@ -11,6 +11,9 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
11
11
|
from codemie_test_harness.tests.utils.constants import project_management_integrations
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
@pytest.mark.workflow
|
|
15
|
+
@pytest.mark.direct_tool
|
|
16
|
+
@pytest.mark.project_management
|
|
14
17
|
@pytest.mark.regression
|
|
15
18
|
@pytest.mark.parametrize(
|
|
16
19
|
"toolkit, tool_name, integration_type, prompt, expected_response",
|
|
@@ -43,6 +46,9 @@ def test_workflow_with_project_management_tools_direct(
|
|
|
43
46
|
similarity_check.check_similarity(response, expected_response, 90)
|
|
44
47
|
|
|
45
48
|
|
|
49
|
+
@pytest.mark.workflow
|
|
50
|
+
@pytest.mark.direct_tool
|
|
51
|
+
@pytest.mark.project_management
|
|
46
52
|
@pytest.mark.regression
|
|
47
53
|
@pytest.mark.parametrize(
|
|
48
54
|
"toolkit, tool_name, integration_type, prompt, expected_response",
|
|
@@ -73,6 +79,9 @@ def test_workflow_with_project_management_tools_with_hardcoded_args(
|
|
|
73
79
|
similarity_check.check_similarity(response, expected_response, 90)
|
|
74
80
|
|
|
75
81
|
|
|
82
|
+
@pytest.mark.workflow
|
|
83
|
+
@pytest.mark.direct_tool
|
|
84
|
+
@pytest.mark.project_management
|
|
76
85
|
@pytest.mark.regression
|
|
77
86
|
@pytest.mark.parametrize(
|
|
78
87
|
"toolkit, tool_name, integration_type, prompt, expected_response",
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_research_tools.py
CHANGED
|
@@ -10,6 +10,9 @@ from codemie_test_harness.tests.test_data.direct_tools.research_tools_test_data
|
|
|
10
10
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
@pytest.mark.workflow
|
|
14
|
+
@pytest.mark.direct_tool
|
|
15
|
+
@pytest.mark.research
|
|
13
16
|
@pytest.mark.regression
|
|
14
17
|
@pytest.mark.parametrize(
|
|
15
18
|
"tool_name, prompt, expected_response",
|
|
@@ -32,6 +35,9 @@ def test_workflow_with_research_tools_direct(
|
|
|
32
35
|
similarity_check.check_similarity(response, expected_response)
|
|
33
36
|
|
|
34
37
|
|
|
38
|
+
@pytest.mark.workflow
|
|
39
|
+
@pytest.mark.direct_tool
|
|
40
|
+
@pytest.mark.research
|
|
35
41
|
@pytest.mark.regression
|
|
36
42
|
@pytest.mark.parametrize(
|
|
37
43
|
"tool_name, prompt, expected_response",
|
|
@@ -52,6 +58,9 @@ def test_workflow_with_research_tools_with_hardcoded_args(
|
|
|
52
58
|
similarity_check.check_similarity(response, expected_response)
|
|
53
59
|
|
|
54
60
|
|
|
61
|
+
@pytest.mark.workflow
|
|
62
|
+
@pytest.mark.direct_tool
|
|
63
|
+
@pytest.mark.research
|
|
55
64
|
@pytest.mark.regression
|
|
56
65
|
@pytest.mark.parametrize(
|
|
57
66
|
"tool_name, prompt, expected_response",
|
codemie_test_harness/tests/workflow/direct_tools_calling/test_workflow_with_servicenow_tools.py
CHANGED
|
@@ -14,6 +14,9 @@ from codemie_test_harness.tests.test_data.direct_tools.servicenow_tools_test_dat
|
|
|
14
14
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
@pytest.mark.workflow
|
|
18
|
+
@pytest.mark.direct_tool
|
|
19
|
+
@pytest.mark.servicenow
|
|
17
20
|
@pytest.mark.regression
|
|
18
21
|
def test_workflow_with_servicenow_tools_direct(
|
|
19
22
|
service_now_integration, workflow_utils, workflow_with_tool
|
|
@@ -31,6 +34,9 @@ def test_workflow_with_servicenow_tools_direct(
|
|
|
31
34
|
assert_that(json.loads(response), equal_to(EXPECTED_RESPONSE))
|
|
32
35
|
|
|
33
36
|
|
|
37
|
+
@pytest.mark.workflow
|
|
38
|
+
@pytest.mark.direct_tool
|
|
39
|
+
@pytest.mark.servicenow
|
|
34
40
|
@pytest.mark.regression
|
|
35
41
|
def test_workflow_with_servicenow_tools_with_hardcoded_args(
|
|
36
42
|
service_now_integration, workflow_utils, workflow_with_tool
|
|
@@ -49,6 +55,9 @@ def test_workflow_with_servicenow_tools_with_hardcoded_args(
|
|
|
49
55
|
assert_that(json.loads(response), equal_to(EXPECTED_RESPONSE))
|
|
50
56
|
|
|
51
57
|
|
|
58
|
+
@pytest.mark.workflow
|
|
59
|
+
@pytest.mark.direct_tool
|
|
60
|
+
@pytest.mark.servicenow
|
|
52
61
|
@pytest.mark.regression
|
|
53
62
|
def test_workflow_with_servicenow_tools_with_overriding_args(
|
|
54
63
|
service_now_integration, workflow_utils, workflow_with_tool
|
|
@@ -11,6 +11,9 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
11
11
|
from codemie_test_harness.tests.utils.constants import vcs_integrations
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
@pytest.mark.workflow
|
|
15
|
+
@pytest.mark.direct_tool
|
|
16
|
+
@pytest.mark.vcs
|
|
14
17
|
@pytest.mark.regression
|
|
15
18
|
@pytest.mark.parametrize(
|
|
16
19
|
"toolkit,tool_name,prompt,expected_response",
|
|
@@ -8,6 +8,7 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
8
8
|
from codemie_test_harness.tests.utils.yaml_utils import AssistantModel, StateModel
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
@pytest.mark.workflow
|
|
11
12
|
@pytest.mark.regression
|
|
12
13
|
@pytest.mark.smoke
|
|
13
14
|
def test_workflow_with_json_output_schema(default_llm, workflow, workflow_utils):
|
|
@@ -8,6 +8,9 @@ from codemie_test_harness.tests.test_data.keycloak_tool_test_data import (
|
|
|
8
8
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
@pytest.mark.workflow
|
|
12
|
+
@pytest.mark.virtual_workflow
|
|
13
|
+
@pytest.mark.keycloak
|
|
11
14
|
@pytest.mark.regression
|
|
12
15
|
def test_workflow_with_virtual_assistant_with_keycloak_tool(
|
|
13
16
|
keycloak_integration,
|
|
@@ -14,6 +14,9 @@ from codemie_test_harness.tests.utils.constants import ID_PATTERN
|
|
|
14
14
|
from codemie_test_harness.tests.utils.json_utils import extract_id_from_ado_response
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
@pytest.mark.workflow
|
|
18
|
+
@pytest.mark.virtual_workflow
|
|
19
|
+
@pytest.mark.ado
|
|
17
20
|
@pytest.mark.regression
|
|
18
21
|
@pytest.mark.testcase("EPMCDME-5392")
|
|
19
22
|
@pytest.mark.parametrize(
|
|
@@ -44,6 +47,9 @@ def test_workflow_with_ado_test_plan_get_tools(
|
|
|
44
47
|
similarity_check.check_similarity(response, expected_response)
|
|
45
48
|
|
|
46
49
|
|
|
50
|
+
@pytest.mark.workflow
|
|
51
|
+
@pytest.mark.virtual_workflow
|
|
52
|
+
@pytest.mark.ado
|
|
47
53
|
@pytest.mark.regression
|
|
48
54
|
@pytest.mark.testcase("EPMCDME-5392")
|
|
49
55
|
def test_workflow_with_ado_test_plan_tools(
|
codemie_test_harness/tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_wiki_tools.py
CHANGED
|
@@ -11,6 +11,9 @@ from codemie_test_harness.tests.test_data.ado_wiki_tools_test_data import (
|
|
|
11
11
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
@pytest.mark.workflow
|
|
15
|
+
@pytest.mark.virtual_workflow
|
|
16
|
+
@pytest.mark.ado
|
|
14
17
|
@pytest.mark.regression
|
|
15
18
|
@pytest.mark.testcase("EPMCDME-5192")
|
|
16
19
|
@pytest.mark.parametrize(
|
|
@@ -41,6 +44,9 @@ def test_workflow_with_ado_wiki_get_tools(
|
|
|
41
44
|
similarity_check.check_similarity(response, expected_response)
|
|
42
45
|
|
|
43
46
|
|
|
47
|
+
@pytest.mark.workflow
|
|
48
|
+
@pytest.mark.virtual_workflow
|
|
49
|
+
@pytest.mark.ado
|
|
44
50
|
@pytest.mark.regression
|
|
45
51
|
@pytest.mark.testcase("EPMCDME-5192")
|
|
46
52
|
def test_workflow_with_ado_wiki_modify_tools(
|
|
@@ -12,6 +12,9 @@ from codemie_test_harness.tests.utils.constants import WORK_ITEM_ID_PATTERN
|
|
|
12
12
|
from codemie_test_harness.tests.utils.json_utils import extract_id_from_ado_response
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
@pytest.mark.workflow
|
|
16
|
+
@pytest.mark.virtual_workflow
|
|
17
|
+
@pytest.mark.ado
|
|
15
18
|
@pytest.mark.regression
|
|
16
19
|
@pytest.mark.testcase("EPMCDME-5384")
|
|
17
20
|
@pytest.mark.parametrize(
|
|
@@ -42,6 +45,9 @@ def test_workflow_with_ado_work_item_get_tools(
|
|
|
42
45
|
similarity_check.check_similarity(response, expected_response)
|
|
43
46
|
|
|
44
47
|
|
|
48
|
+
@pytest.mark.workflow
|
|
49
|
+
@pytest.mark.virtual_workflow
|
|
50
|
+
@pytest.mark.ado
|
|
45
51
|
@pytest.mark.regression
|
|
46
52
|
@pytest.mark.testcase("EPMCDME-5384")
|
|
47
53
|
def test_workflow_with_ado_work_item_modify_tools(
|
codemie_test_harness/tests/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py
CHANGED
|
@@ -5,6 +5,9 @@ from codemie_test_harness.tests.test_data.cloud_tools_test_data import cloud_tes
|
|
|
5
5
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
@pytest.mark.workflow
|
|
9
|
+
@pytest.mark.virtual_workflow
|
|
10
|
+
@pytest.mark.cloud
|
|
8
11
|
@pytest.mark.regression
|
|
9
12
|
@pytest.mark.tescase("EPMCDME-5093")
|
|
10
13
|
@pytest.mark.tescase("EPMCDME-5136")
|
|
@@ -28,6 +28,9 @@ def code_datasource(integration_utils, datasource_utils, default_embedding_llm):
|
|
|
28
28
|
integration_utils.delete_integration(integration)
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
@pytest.mark.workflow
|
|
32
|
+
@pytest.mark.virtual_workflow
|
|
33
|
+
@pytest.mark.codebase
|
|
31
34
|
@pytest.mark.regression
|
|
32
35
|
@pytest.mark.testcase("EPMCDME-5456, EPMCDME-5427, EPMCDME-5466, EPMCDME-5442")
|
|
33
36
|
@pytest.mark.parametrize(
|
|
@@ -60,6 +63,8 @@ def test_workflow_with_codebase_tools(
|
|
|
60
63
|
similarity_check.check_similarity(response, expected_response)
|
|
61
64
|
|
|
62
65
|
|
|
66
|
+
@pytest.mark.workflow
|
|
67
|
+
@pytest.mark.virtual_workflow
|
|
63
68
|
@pytest.mark.regression
|
|
64
69
|
@pytest.mark.testcase("EPMCDME-5178")
|
|
65
70
|
@pytest.mark.parametrize(
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
|
-
|
|
5
4
|
from codemie_sdk.models.integration import CredentialTypes
|
|
6
5
|
|
|
7
6
|
from codemie_test_harness.tests.enums.integrations import DataBaseDialect
|
|
@@ -19,10 +18,16 @@ from codemie_test_harness.tests.test_data.data_management_tools_test_data import
|
|
|
19
18
|
from codemie_test_harness.tests.utils.aws_parameters_store import CredentialsUtil
|
|
20
19
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
21
20
|
|
|
21
|
+
pytestmark = pytest.mark.skipif(
|
|
22
|
+
os.getenv("ENV") == "local", reason="Skipping this tests on local environment"
|
|
23
|
+
)
|
|
24
|
+
|
|
22
25
|
|
|
26
|
+
@pytest.mark.workflow
|
|
27
|
+
@pytest.mark.virtual_workflow
|
|
28
|
+
@pytest.mark.elastic
|
|
23
29
|
@pytest.mark.regression
|
|
24
30
|
@pytest.mark.testcase("EPMCDME-6431")
|
|
25
|
-
@pytest.mark.skip(reason="Credentials for Elastic are not available")
|
|
26
31
|
def test_workflow_with_elastic_tools(
|
|
27
32
|
workflow_with_virtual_assistant,
|
|
28
33
|
workflow_utils,
|
|
@@ -48,6 +53,9 @@ def test_workflow_with_elastic_tools(
|
|
|
48
53
|
similarity_check.check_similarity(response, RESPONSE_FOR_ELASTIC)
|
|
49
54
|
|
|
50
55
|
|
|
56
|
+
@pytest.mark.workflow
|
|
57
|
+
@pytest.mark.virtual_workflow
|
|
58
|
+
@pytest.mark.sql
|
|
51
59
|
@pytest.mark.regression
|
|
52
60
|
@pytest.mark.testcase("EPMCDME-6431")
|
|
53
61
|
@pytest.mark.parametrize(
|
|
@@ -55,9 +63,6 @@ def test_workflow_with_elastic_tools(
|
|
|
55
63
|
sql_tools_test_data,
|
|
56
64
|
ids=[DataBaseDialect.MY_SQL, DataBaseDialect.POSTGRES, DataBaseDialect.MS_SQL],
|
|
57
65
|
)
|
|
58
|
-
@pytest.mark.skipif(
|
|
59
|
-
os.getenv("ENV") == "local", reason="Skipping this test on local environment"
|
|
60
|
-
)
|
|
61
66
|
def test_workflow_with_sql_tools(
|
|
62
67
|
workflow_with_virtual_assistant,
|
|
63
68
|
workflow_utils,
|
|
@@ -16,6 +16,10 @@ from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
|
16
16
|
from codemie_test_harness.tests.utils.constants import test_project_name
|
|
17
17
|
|
|
18
18
|
|
|
19
|
+
@pytest.mark.workflow
|
|
20
|
+
@pytest.mark.virtual_workflow
|
|
21
|
+
@pytest.mark.integration
|
|
22
|
+
@pytest.mark.default_integration
|
|
19
23
|
@pytest.mark.not_for_parallel_run
|
|
20
24
|
@pytest.mark.regression
|
|
21
25
|
@pytest.mark.tescase("EPMCDME-6708")
|
|
@@ -76,6 +80,10 @@ def test_assistant_in_workflow_should_use_user_integration_by_default(
|
|
|
76
80
|
similarity_check.check_similarity(response, RESPONSE_FOR_JIRA_TOOL)
|
|
77
81
|
|
|
78
82
|
|
|
83
|
+
@pytest.mark.workflow
|
|
84
|
+
@pytest.mark.virtual_workflow
|
|
85
|
+
@pytest.mark.integration
|
|
86
|
+
@pytest.mark.default_integration
|
|
79
87
|
@pytest.mark.not_for_parallel_run
|
|
80
88
|
@pytest.mark.regression
|
|
81
89
|
@pytest.mark.tescase("EPMCDME-6708")
|
|
@@ -119,6 +127,10 @@ def test_assistant_in_workflow_with_global_and_project_integration(
|
|
|
119
127
|
similarity_check.check_similarity(response, RESPONSE_FOR_JIRA_TOOL)
|
|
120
128
|
|
|
121
129
|
|
|
130
|
+
@pytest.mark.workflow
|
|
131
|
+
@pytest.mark.virtual_workflow
|
|
132
|
+
@pytest.mark.integration
|
|
133
|
+
@pytest.mark.default_integration
|
|
122
134
|
@pytest.mark.not_for_parallel_run
|
|
123
135
|
@pytest.mark.regression
|
|
124
136
|
@pytest.mark.tescase("EPMCDME-6708")
|
|
@@ -153,6 +165,10 @@ def test_assistant_in_workflow_with_project_integration_only(
|
|
|
153
165
|
similarity_check.check_similarity(response, RESPONSE_FOR_JIRA_TOOL)
|
|
154
166
|
|
|
155
167
|
|
|
168
|
+
@pytest.mark.workflow
|
|
169
|
+
@pytest.mark.virtual_workflow
|
|
170
|
+
@pytest.mark.integration
|
|
171
|
+
@pytest.mark.default_integration
|
|
156
172
|
@pytest.mark.not_for_parallel_run
|
|
157
173
|
@pytest.mark.regression
|
|
158
174
|
def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
@@ -195,6 +211,10 @@ def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
|
195
211
|
similarity_check.check_similarity(response, RESPONSE_FOR_JIRA_TOOL)
|
|
196
212
|
|
|
197
213
|
|
|
214
|
+
@pytest.mark.workflow
|
|
215
|
+
@pytest.mark.virtual_workflow
|
|
216
|
+
@pytest.mark.integration
|
|
217
|
+
@pytest.mark.default_integration
|
|
198
218
|
@pytest.mark.not_for_parallel_run
|
|
199
219
|
@pytest.mark.regression
|
|
200
220
|
def test_assistant_in_workflow_with_project_valid_and_user_invalid_integration(
|
|
@@ -18,6 +18,10 @@ ado_wiki_prompt = ado_wiki_get_test_data[0][2]
|
|
|
18
18
|
ado_wiki_answer = ado_wiki_get_test_data[0][3]
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
@pytest.mark.workflow
|
|
22
|
+
@pytest.mark.virtual_workflow
|
|
23
|
+
@pytest.mark.integration
|
|
24
|
+
@pytest.mark.default_integration
|
|
21
25
|
@pytest.mark.not_for_parallel_run
|
|
22
26
|
@pytest.mark.regression
|
|
23
27
|
@pytest.mark.tescase("EPMCDME-6708")
|
|
@@ -80,6 +84,10 @@ def test_assistant_in_workflow_should_use_user_integration_by_default(
|
|
|
80
84
|
similarity_check.check_similarity(response, ado_wiki_answer)
|
|
81
85
|
|
|
82
86
|
|
|
87
|
+
@pytest.mark.workflow
|
|
88
|
+
@pytest.mark.virtual_workflow
|
|
89
|
+
@pytest.mark.integration
|
|
90
|
+
@pytest.mark.default_integration
|
|
83
91
|
@pytest.mark.not_for_parallel_run
|
|
84
92
|
@pytest.mark.regression
|
|
85
93
|
@pytest.mark.tescase("EPMCDME-6708")
|
|
@@ -124,6 +132,10 @@ def test_assistant_in_workflow_with_global_and_project_integration(
|
|
|
124
132
|
similarity_check.check_similarity(response, ado_wiki_answer)
|
|
125
133
|
|
|
126
134
|
|
|
135
|
+
@pytest.mark.workflow
|
|
136
|
+
@pytest.mark.virtual_workflow
|
|
137
|
+
@pytest.mark.integration
|
|
138
|
+
@pytest.mark.default_integration
|
|
127
139
|
@pytest.mark.not_for_parallel_run
|
|
128
140
|
@pytest.mark.regression
|
|
129
141
|
@pytest.mark.tescase("EPMCDME-6708")
|
|
@@ -160,6 +172,10 @@ def test_assistant_in_workflow_with_project_integration_only(
|
|
|
160
172
|
similarity_check.check_similarity(response, ado_wiki_answer)
|
|
161
173
|
|
|
162
174
|
|
|
175
|
+
@pytest.mark.workflow
|
|
176
|
+
@pytest.mark.virtual_workflow
|
|
177
|
+
@pytest.mark.integration
|
|
178
|
+
@pytest.mark.default_integration
|
|
163
179
|
@pytest.mark.not_for_parallel_run
|
|
164
180
|
@pytest.mark.regression
|
|
165
181
|
def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
@@ -204,6 +220,10 @@ def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
|
204
220
|
similarity_check.check_similarity(response, ado_wiki_answer)
|
|
205
221
|
|
|
206
222
|
|
|
223
|
+
@pytest.mark.workflow
|
|
224
|
+
@pytest.mark.virtual_workflow
|
|
225
|
+
@pytest.mark.integration
|
|
226
|
+
@pytest.mark.default_integration
|
|
207
227
|
@pytest.mark.not_for_parallel_run
|
|
208
228
|
@pytest.mark.regression
|
|
209
229
|
def test_assistant_in_workflow_with_project_valid_and_user_invalid_integration(
|
|
@@ -18,6 +18,11 @@ git_tool_prompt = list_branches_set_active_branch_test_data[0][2]
|
|
|
18
18
|
git_tool_answer = list_branches_set_active_branch_test_data[0][3]
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
@pytest.mark.workflow
|
|
22
|
+
@pytest.mark.virtual_workflow
|
|
23
|
+
@pytest.mark.datasource
|
|
24
|
+
@pytest.mark.integration
|
|
25
|
+
@pytest.mark.default_integration
|
|
21
26
|
@pytest.mark.not_for_parallel_run
|
|
22
27
|
@pytest.mark.regression
|
|
23
28
|
@pytest.mark.tescase("EPMCDME-6708")
|
|
@@ -90,6 +95,11 @@ def test_assistant_in_workflow_should_use_user_integration_by_default(
|
|
|
90
95
|
similarity_check.check_similarity(response, git_tool_answer)
|
|
91
96
|
|
|
92
97
|
|
|
98
|
+
@pytest.mark.workflow
|
|
99
|
+
@pytest.mark.virtual_workflow
|
|
100
|
+
@pytest.mark.datasource
|
|
101
|
+
@pytest.mark.integration
|
|
102
|
+
@pytest.mark.default_integration
|
|
93
103
|
@pytest.mark.not_for_parallel_run
|
|
94
104
|
@pytest.mark.regression
|
|
95
105
|
@pytest.mark.tescase("EPMCDME-6708")
|
|
@@ -148,6 +158,11 @@ def test_assistant_in_workflow_with_global_and_project_integration(
|
|
|
148
158
|
similarity_check.check_similarity(response, git_tool_answer)
|
|
149
159
|
|
|
150
160
|
|
|
161
|
+
@pytest.mark.workflow
|
|
162
|
+
@pytest.mark.virtual_workflow
|
|
163
|
+
@pytest.mark.datasource
|
|
164
|
+
@pytest.mark.integration
|
|
165
|
+
@pytest.mark.default_integration
|
|
151
166
|
@pytest.mark.not_for_parallel_run
|
|
152
167
|
@pytest.mark.regression
|
|
153
168
|
@pytest.mark.tescase("EPMCDME-6708")
|
|
@@ -193,6 +208,11 @@ def test_assistant_in_workflow_with_project_integration_only(
|
|
|
193
208
|
similarity_check.check_similarity(response, git_tool_answer)
|
|
194
209
|
|
|
195
210
|
|
|
211
|
+
@pytest.mark.workflow
|
|
212
|
+
@pytest.mark.virtual_workflow
|
|
213
|
+
@pytest.mark.datasource
|
|
214
|
+
@pytest.mark.integration
|
|
215
|
+
@pytest.mark.default_integration
|
|
196
216
|
@pytest.mark.not_for_parallel_run
|
|
197
217
|
@pytest.mark.regression
|
|
198
218
|
def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
@@ -250,6 +270,11 @@ def test_assistant_in_workflow_with_global_valid_and_user_invalid_integration(
|
|
|
250
270
|
similarity_check.check_similarity(response, git_tool_answer)
|
|
251
271
|
|
|
252
272
|
|
|
273
|
+
@pytest.mark.workflow
|
|
274
|
+
@pytest.mark.virtual_workflow
|
|
275
|
+
@pytest.mark.datasource
|
|
276
|
+
@pytest.mark.integration
|
|
277
|
+
@pytest.mark.default_integration
|
|
253
278
|
@pytest.mark.not_for_parallel_run
|
|
254
279
|
@pytest.mark.regression
|
|
255
280
|
def test_assistant_in_workflow_with_project_valid_and_user_invalid_integration(
|