codemie-test-harness 0.1.130__py3-none-any.whl → 0.1.131__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/.env +5 -0
- codemie_test_harness/cli/runner.py +25 -16
- codemie_test_harness/pytest.ini +6 -0
- {tests → codemie_test_harness/tests}/__init__.py +1 -1
- {tests → codemie_test_harness/tests}/assistant/datasource/test_code_datasource.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/datasource/test_confluence_datasource.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/datasource/test_file_indexing.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/datasource/test_google_datasource.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/datasource/test_jira_datasource.py +5 -2
- {tests → codemie_test_harness/tests}/assistant/default_integrations/test_default_integrations_for_tool.py +9 -6
- {tests → codemie_test_harness/tests}/assistant/default_integrations/test_default_integrations_for_tool_kit.py +8 -6
- {tests → codemie_test_harness/tests}/assistant/default_integrations/test_default_integrations_for_tool_with_datasource.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/test_assistants.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/tools/ado/test_assistant_for_ado_test_plan_tools.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/tools/ado/test_assistant_for_ado_wiki_tools.py +4 -4
- {tests → codemie_test_harness/tests}/assistant/tools/ado/test_assistant_for_ado_work_item_tools.py +6 -6
- {tests → codemie_test_harness/tests}/assistant/tools/cloud/test_cloud_tools.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/tools/codebase/test_codebase_tools.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/tools/datamanagement/test_assistant_with_data_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/filemanagement/test_assistant_with_file_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/git/test_assistant_with_git_tools.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/tools/mcp/test_cli_mcp_server.py +4 -4
- {tests → codemie_test_harness/tests}/assistant/tools/mcp/test_mcp_servers.py +1 -1
- {tests → codemie_test_harness/tests}/assistant/tools/notification/test_assistant_notification_tools.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/openapi/test_assistant_with_open_api_tools.py +2 -2
- {tests → codemie_test_harness/tests}/assistant/tools/plugin/test_assistant_with_development_plugin.py +4 -4
- {tests → codemie_test_harness/tests}/assistant/tools/plugin/test_assistant_with_plugin_and_mcp_servers.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/project_management/test_assistant_pm_tools.py +8 -6
- {tests → codemie_test_harness/tests}/assistant/tools/research/test_assistant_research_tools.py +3 -3
- {tests → codemie_test_harness/tests}/assistant/tools/servicenow/test_servicenow_tools.py +5 -2
- {tests → codemie_test_harness/tests}/assistant/tools/vcs/test_assistant_with_vcs_tools.py +3 -3
- {tests → codemie_test_harness/tests}/e2e/test_e2e.py +2 -2
- {tests → codemie_test_harness/tests}/integrations/project/test_default_integrations.py +16 -9
- {tests → codemie_test_harness/tests}/integrations/project/test_project_integrations.py +6 -3
- {tests → codemie_test_harness/tests}/integrations/user/test_default_integrations.py +16 -9
- {tests → codemie_test_harness/tests}/integrations/user/test_user_integrations.py +3 -3
- {tests → codemie_test_harness/tests}/llm/assistants/test_llm.py +4 -4
- {tests → codemie_test_harness/tests}/search/test_search_assistant.py +3 -3
- {tests → codemie_test_harness/tests}/search/test_search_datasource.py +3 -3
- {tests → codemie_test_harness/tests}/search/test_search_integration.py +2 -2
- {tests → codemie_test_harness/tests}/search/test_search_workflow.py +3 -3
- {tests → codemie_test_harness/tests}/service/test_assistant_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_datasource_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_integration_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_task_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_workflow_execution_service.py +2 -2
- {tests → codemie_test_harness/tests}/service/test_workflow_service.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/ado_test_plan_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/ado_wiki_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/ado_work_item_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/cloud_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/codebase_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/data_management_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/ado_test_plan_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/ado_wiki_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/ado_work_item_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/cloud_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/codebase_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/data_management_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/direct_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/file_management_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/notification_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/open_api_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/project_management_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/direct_tools/research_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/direct_tools/vcs_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/file_management_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/git_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/integrations_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/llm_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/mcp_server_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/notification_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/open_api_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/plugin_tools_test_data.py +2 -2
- {tests → codemie_test_harness/tests}/test_data/project_management_test_data.py +3 -3
- {tests → codemie_test_harness/tests}/test_data/research_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/test_data/vcs_tools_test_data.py +1 -1
- {tests → codemie_test_harness/tests}/ui/conftest.py +1 -1
- {tests → codemie_test_harness/tests}/ui/pageobject/assistants/assistants_page.py +1 -1
- {tests → codemie_test_harness/tests}/ui/pageobject/base_page.py +2 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/login_page.py +4 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/base_workflow_form_page.py +2 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/create_workflow_page.py +4 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/edit_workflow_page.py +3 -1
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflow_details_page.py +5 -3
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflow_executions_page.py +3 -3
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflow_template_details.py +1 -1
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflow_templates_page.py +4 -2
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/workflows_page.py +8 -3
- {tests → codemie_test_harness/tests}/ui/test_create_workflow.py +7 -3
- {tests → codemie_test_harness/tests}/ui/test_edit_workflow.py +8 -4
- {tests → codemie_test_harness/tests}/ui/test_workflow_details.py +4 -4
- {tests → codemie_test_harness/tests}/ui/test_workflow_executions_page.py +3 -3
- {tests → codemie_test_harness/tests}/ui/test_workflow_templates.py +12 -6
- {tests → codemie_test_harness/tests}/ui/test_workflows.py +3 -1
- {tests → codemie_test_harness/tests}/utils/assistant_utils.py +6 -2
- {tests → codemie_test_harness/tests}/utils/aws_parameters_store.py +6 -4
- {tests → codemie_test_harness/tests}/utils/base_utils.py +2 -2
- {tests → codemie_test_harness/tests}/utils/constants.py +1 -1
- {tests → codemie_test_harness/tests}/utils/datasource_utils.py +6 -2
- {tests → codemie_test_harness/tests}/utils/integration_utils.py +6 -2
- {tests → codemie_test_harness/tests}/utils/notification_utils.py +1 -1
- {tests → codemie_test_harness/tests}/utils/search_utils.py +1 -1
- {tests → codemie_test_harness/tests}/utils/similarity_check.py +5 -1
- {tests → codemie_test_harness/tests}/utils/workflow_utils.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_test_plan_tools.py +5 -5
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_wiki_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_work_item_tools.py +5 -5
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/cloud/test_workflow_with_assistant_cloud_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/codebase/test_worfklow_with_assistant_codebase_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/data_management/test_workflow_with_assistant_with_data_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool.py +9 -6
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +8 -6
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +6 -6
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/file_management/test_workflow_with_assistant_with_file_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/git/test_workflow_with_assistant_git_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/mcp/test_workflow_with_assistant_with_mcp_server.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/notification/test_workflow_with_assistant_notification_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/open_api/test_workflow_with_assistant_with_open_api_tools.py +4 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_development_plugin.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/plugin/test_workflow_with_assistant_with_plugin_and_mcp_servers.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/project_management/test_workflow_with_assistant_pm_tools.py +5 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/research/test_workflow_with_assistant_research_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +5 -2
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/vcs/workflow_with_assistant_vcs_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/config_validation/test_config_validation.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool.py +7 -7
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/default_integrations/test_default_integrations_for_tool_kit.py +9 -7
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_ado_test_plan_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_ado_wiki_tools.py +4 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_ado_work_item_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_cloud_tools.py +5 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_codebase_tools.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_data_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_file_management_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_notification_tools.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_open_api_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_plugin_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_project_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_research_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_servicenow_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/test_workflow_with_vcs_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/test_workflows.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_test_plan_tools.py +5 -5
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_wiki_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_work_item_tools.py +5 -5
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/codebase/test_workflow_with_codebase_tools.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/data_management/test_workflow_with_data_management_tools.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool.py +10 -7
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_kit.py +9 -7
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/default_integrations/test_default_integrations_for_tool_with_datasource.py +7 -7
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/file_management/test_workflow_with_file_management_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/git/test_workflow_with_git_tools.py +2 -2
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/mcp/test_workflow_with_mcp_server.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/notification/test_workflow_with_notification_tools.py +3 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/open_api/test_workflow_with_open_api_tools.py +4 -2
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/plugin/test_workflow_with_development_plugin.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/plugin/test_workflow_with_plugin_and_mcp_servers.py +4 -4
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/project_management/test_workflow_with_project_management_tools.py +5 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/research/test_workflow_with_research_tools.py +6 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py +6 -3
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py +3 -3
- {codemie_test_harness-0.1.130.dist-info → codemie_test_harness-0.1.131.dist-info}/METADATA +2 -2
- codemie_test_harness-0.1.131.dist-info/RECORD +326 -0
- codemie_test_harness-0.1.130.dist-info/RECORD +0 -324
- {tests → codemie_test_harness/tests}/assistant/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/datasource/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/default_integrations/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/ado/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/cloud/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/codebase/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/datamanagement/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/filemanagement/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/git/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/mcp/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/notification/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/openapi/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/plugin/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/project_management/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/research/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/servicenow/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/assistant/tools/vcs/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/conftest.py +0 -0
- {tests → codemie_test_harness/tests}/e2e/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/enums/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/enums/integrations.py +0 -0
- {tests → codemie_test_harness/tests}/enums/model_types.py +0 -0
- {tests → codemie_test_harness/tests}/enums/tools.py +0 -0
- {tests → codemie_test_harness/tests}/integrations/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/integrations/project/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/integrations/user/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/llm/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/llm/assistants/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/providers/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/providers/test_providers_endpoints.py +0 -0
- {tests → codemie_test_harness/tests}/search/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/service/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/service/test_llm_service.py +0 -0
- {tests → codemie_test_harness/tests}/service/test_user_service.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/direct_tools/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/direct_tools/servicenow_tools_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/file_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/large-files/large_file.txt +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/provider_payload.json +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.csv +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.docx +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.gif +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.ini +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.jpeg +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.jpg +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.json +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.pdf +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.png +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.pptx +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.txt +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.vtt +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.xlsx +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.xml +0 -0
- {tests → codemie_test_harness/tests}/test_data/files/test.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/google_datasource_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/index_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/openapi.json +0 -0
- {tests → codemie_test_harness/tests}/test_data/output_schema_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/pm_tools_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/servicenow_tools_test_data.py +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_assistant_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_assistant_in_state.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_data_source.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_state.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_tool.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_yaml.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/invalid_yaml_format.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_assistant_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_assistant_tools_name.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_retry_backoff_factor.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_retry_initial_interval.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_retry_max_attempts.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_retry_max_interval.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_condition_expression.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_condition_otherwise.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_condition_then.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_switch_cases.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_switch_cases_condition.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_switch_cases_state_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_next_switch_default.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_retry_backoff_factor.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_retry_initial_interval.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_retry_max_attempts.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_states_retry_max_interval.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_system_prompt.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_tools_id.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow/invalid_config/missing_required_tools_name.yaml +0 -0
- {tests → codemie_test_harness/tests}/test_data/workflow_validation_messages.py +0 -0
- {tests → codemie_test_harness/tests}/ui/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/assistants/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/execution_history_row.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/header.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/pop_up.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_card.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_execution_history_item.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_execution_state.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_sidebar.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/components/workflow_state_card.py +0 -0
- {tests → codemie_test_harness/tests}/ui/pageobject/workflows/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/utils/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/utils/client_factory.py +0 -0
- {tests → codemie_test_harness/tests}/utils/file_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/gitbud_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/http_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/json_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/logger_util.py +0 -0
- {tests → codemie_test_harness/tests}/utils/provider_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/pytest_utils.py +0 -0
- {tests → codemie_test_harness/tests}/utils/yaml_utils.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/ado/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/cloud/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/codebase/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/data_management/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/default_integrations/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/file_management/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/git/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/mcp/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/notification/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/open_api/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/plugin/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/project_management/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/research/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/servicenow/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/assistant_tools/vcs/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/config_validation/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/direct_tools_calling/default_integrations/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/ado/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/cloud/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/codebase/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/data_management/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/default_integrations/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/file_management/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/git/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/mcp/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/notification/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/open_api/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/plugin/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/project_management/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/research/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/servicenow/__init__.py +0 -0
- {tests → codemie_test_harness/tests}/workflow/virtual_assistant_tools/vcs/__init__.py +0 -0
- {codemie_test_harness-0.1.130.dist-info → codemie_test_harness-0.1.131.dist-info}/WHEEL +0 -0
- {codemie_test_harness-0.1.130.dist-info → codemie_test_harness-0.1.131.dist-info}/entry_points.txt +0 -0
|
@@ -6,9 +6,11 @@ from playwright.sync_api import expect, Locator
|
|
|
6
6
|
from reportportal_client import step
|
|
7
7
|
from typing import List, Optional
|
|
8
8
|
|
|
9
|
-
from tests.ui.pageobject.base_page import BasePage
|
|
10
|
-
from tests.ui.pageobject.components import WorkflowSidebar
|
|
11
|
-
from tests.ui.pageobject.components.execution_history_row import
|
|
9
|
+
from codemie_test_harness.tests.ui.pageobject.base_page import BasePage
|
|
10
|
+
from codemie_test_harness.tests.ui.pageobject.components import WorkflowSidebar
|
|
11
|
+
from codemie_test_harness.tests.ui.pageobject.components.execution_history_row import (
|
|
12
|
+
ExecutionHistoryRow,
|
|
13
|
+
)
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
class WorkflowDetailsPage(BasePage):
|
|
@@ -2,11 +2,11 @@ from typing import List, Optional
|
|
|
2
2
|
from playwright.sync_api import expect, Locator
|
|
3
3
|
from reportportal_client import step
|
|
4
4
|
|
|
5
|
-
from tests.ui.pageobject.base_page import BasePage
|
|
6
|
-
from tests.ui.pageobject.components.workflow_execution_history_item import (
|
|
5
|
+
from codemie_test_harness.tests.ui.pageobject.base_page import BasePage
|
|
6
|
+
from codemie_test_harness.tests.ui.pageobject.components.workflow_execution_history_item import (
|
|
7
7
|
WorkflowExecutionHistoryItem,
|
|
8
8
|
)
|
|
9
|
-
from tests.ui.pageobject.components.workflow_execution_state import (
|
|
9
|
+
from codemie_test_harness.tests.ui.pageobject.components.workflow_execution_state import (
|
|
10
10
|
WorkflowExecutionState,
|
|
11
11
|
)
|
|
12
12
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
from reportportal_client import step
|
|
2
2
|
|
|
3
|
-
from tests.ui.pageobject.base_page import BasePage
|
|
3
|
+
from codemie_test_harness.tests.ui.pageobject.base_page import BasePage
|
|
4
4
|
from playwright.sync_api import Page, expect
|
|
5
5
|
|
|
6
|
-
from tests.ui.pageobject.workflows.workflows_page import
|
|
6
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.workflows_page import (
|
|
7
|
+
WorkflowsPage,
|
|
8
|
+
)
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
class WorkflowTemplatesPage(BasePage):
|
|
@@ -6,9 +6,14 @@ from hamcrest import assert_that, has_length, greater_than
|
|
|
6
6
|
from playwright.sync_api import expect
|
|
7
7
|
from reportportal_client import step
|
|
8
8
|
|
|
9
|
-
from tests.ui.pageobject.components import
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
from codemie_test_harness.tests.ui.pageobject.components import (
|
|
10
|
+
WorkflowCard,
|
|
11
|
+
WorkflowSidebar,
|
|
12
|
+
)
|
|
13
|
+
from codemie_test_harness.tests.ui.pageobject.base_page import BasePage
|
|
14
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.create_workflow_page import (
|
|
15
|
+
CreateWorkflowPage,
|
|
16
|
+
)
|
|
12
17
|
|
|
13
18
|
|
|
14
19
|
class WorkflowsPage(BasePage):
|
|
@@ -2,9 +2,13 @@ import os
|
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
|
-
from tests.ui.pageobject.workflows.workflows_page import
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.workflows_page import (
|
|
6
|
+
WorkflowsPage,
|
|
7
|
+
)
|
|
8
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.create_workflow_page import (
|
|
9
|
+
CreateWorkflowPage,
|
|
10
|
+
)
|
|
11
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
@pytest.mark.ui
|
|
@@ -3,10 +3,14 @@ import os
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
5
|
from codemie_sdk.models.workflow import WorkflowMode
|
|
6
|
-
from tests.ui.pageobject.workflows.workflows_page import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
from tests.
|
|
6
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.workflows_page import (
|
|
7
|
+
WorkflowsPage,
|
|
8
|
+
)
|
|
9
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.edit_workflow_page import (
|
|
10
|
+
EditWorkflowPage,
|
|
11
|
+
)
|
|
12
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
13
|
+
from codemie_test_harness.tests.utils.yaml_utils import (
|
|
10
14
|
AssistantModel,
|
|
11
15
|
StateModel,
|
|
12
16
|
WorkflowYamlModel,
|
|
@@ -10,10 +10,10 @@ import os
|
|
|
10
10
|
import pytest
|
|
11
11
|
|
|
12
12
|
from codemie_sdk.models.workflow import WorkflowMode
|
|
13
|
-
from tests import TEST_USER, PROJECT
|
|
14
|
-
from tests.ui.pageobject.workflows import WorkflowDetailsPage
|
|
15
|
-
from tests.utils.base_utils import get_random_name
|
|
16
|
-
from tests.utils.yaml_utils import (
|
|
13
|
+
from codemie_test_harness.tests import TEST_USER, PROJECT
|
|
14
|
+
from codemie_test_harness.tests.ui.pageobject.workflows import WorkflowDetailsPage
|
|
15
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
16
|
+
from codemie_test_harness.tests.utils.yaml_utils import (
|
|
17
17
|
AssistantModel,
|
|
18
18
|
StateModel,
|
|
19
19
|
WorkflowYamlModel,
|
|
@@ -17,9 +17,9 @@ import pytz
|
|
|
17
17
|
from tzlocal import get_localzone
|
|
18
18
|
|
|
19
19
|
from codemie_sdk.models.workflow import WorkflowMode
|
|
20
|
-
from tests.ui.pageobject.workflows import WorkflowExecutionsPage
|
|
21
|
-
from tests.utils.base_utils import get_random_name
|
|
22
|
-
from tests.utils.yaml_utils import (
|
|
20
|
+
from codemie_test_harness.tests.ui.pageobject.workflows import WorkflowExecutionsPage
|
|
21
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
22
|
+
from codemie_test_harness.tests.utils.yaml_utils import (
|
|
23
23
|
AssistantModel,
|
|
24
24
|
StateModel,
|
|
25
25
|
WorkflowYamlModel,
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
|
|
3
|
-
from tests import TEST_USER
|
|
4
|
-
from tests.ui.pageobject.workflows.create_workflow_page import
|
|
5
|
-
|
|
3
|
+
from codemie_test_harness.tests import TEST_USER
|
|
4
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.create_workflow_page import (
|
|
5
|
+
CreateWorkflowPage,
|
|
6
|
+
)
|
|
7
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.workflow_template_details import (
|
|
6
8
|
WorkflowTemplateDetailsPage,
|
|
7
9
|
)
|
|
8
|
-
from tests.ui.pageobject.workflows.workflow_templates_page import
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.workflow_templates_page import (
|
|
11
|
+
WorkflowTemplatesPage,
|
|
12
|
+
)
|
|
13
|
+
from codemie_test_harness.tests.ui.pageobject.workflows.workflows_page import (
|
|
14
|
+
WorkflowsPage,
|
|
15
|
+
)
|
|
16
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
11
17
|
|
|
12
18
|
|
|
13
19
|
@pytest.fixture(scope="function")
|
|
@@ -7,8 +7,12 @@ from codemie_sdk.models.assistant import (
|
|
|
7
7
|
EnvVars,
|
|
8
8
|
ExportAssistantPayload,
|
|
9
9
|
)
|
|
10
|
-
from tests import PROJECT, LANGFUSE_TRACES_ENABLED
|
|
11
|
-
from tests.utils.base_utils import
|
|
10
|
+
from codemie_test_harness.tests import PROJECT, LANGFUSE_TRACES_ENABLED
|
|
11
|
+
from codemie_test_harness.tests.utils.base_utils import (
|
|
12
|
+
BaseUtils,
|
|
13
|
+
get_random_name,
|
|
14
|
+
wait_for_entity,
|
|
15
|
+
)
|
|
12
16
|
|
|
13
17
|
|
|
14
18
|
class AssistantUtils(BaseUtils):
|
|
@@ -10,7 +10,7 @@ import boto3
|
|
|
10
10
|
from botocore.exceptions import ClientError
|
|
11
11
|
|
|
12
12
|
from codemie_sdk.models.integration import CredentialValues
|
|
13
|
-
from tests.enums.integrations import DataBaseDialect
|
|
13
|
+
from codemie_test_harness.tests.enums.integrations import DataBaseDialect
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
class AwsParameterStore:
|
|
@@ -543,9 +543,11 @@ class CredentialsUtil:
|
|
|
543
543
|
|
|
544
544
|
@staticmethod
|
|
545
545
|
def kubernetes_credentials() -> List[CredentialValues]:
|
|
546
|
-
kubernetes_creds =
|
|
547
|
-
"kubernetes"
|
|
548
|
-
|
|
546
|
+
kubernetes_creds = (
|
|
547
|
+
AwsParameterStore.get_cloud_provider_credentials("kubernetes")
|
|
548
|
+
.get("sandbox", {})
|
|
549
|
+
.get("kubernetes", {})
|
|
550
|
+
)
|
|
549
551
|
return [
|
|
550
552
|
CredentialValues(key="url", value=CredentialsUtil.AUTO_GENERATED),
|
|
551
553
|
CredentialValues(key="kubernetes_url", value=kubernetes_creds.get("url")),
|
|
@@ -18,7 +18,7 @@ from codemie_sdk.models.workflow_state import (
|
|
|
18
18
|
from codemie_sdk.services.workflow_execution_state import (
|
|
19
19
|
WorkflowExecutionStateService,
|
|
20
20
|
)
|
|
21
|
-
from tests import autotest_entity_prefix
|
|
21
|
+
from codemie_test_harness.tests import autotest_entity_prefix
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class BaseUtils:
|
|
@@ -50,7 +50,7 @@ def to_camel_case(input_string):
|
|
|
50
50
|
def wait_for_completion(
|
|
51
51
|
execution_state_service: WorkflowExecutionStateService,
|
|
52
52
|
state_id: str,
|
|
53
|
-
timeout: int = int(os.getenv("DEFAULT_TIMEOUT")),
|
|
53
|
+
timeout: int = int(os.getenv("DEFAULT_TIMEOUT", "120")),
|
|
54
54
|
pool_interval: int = 3,
|
|
55
55
|
) -> WorkflowExecutionState:
|
|
56
56
|
start_time = time.time()
|
|
@@ -19,8 +19,12 @@ from codemie_sdk.models.datasource import (
|
|
|
19
19
|
UpdateJiraDataSourceRequest,
|
|
20
20
|
)
|
|
21
21
|
from codemie_sdk.models.datasource import DataSourceStatus
|
|
22
|
-
from tests import PROJECT
|
|
23
|
-
from tests.utils.base_utils import
|
|
22
|
+
from codemie_test_harness.tests import PROJECT
|
|
23
|
+
from codemie_test_harness.tests.utils.base_utils import (
|
|
24
|
+
BaseUtils,
|
|
25
|
+
get_random_name,
|
|
26
|
+
wait_for_entity,
|
|
27
|
+
)
|
|
24
28
|
|
|
25
29
|
|
|
26
30
|
class DataSourceUtils(BaseUtils):
|
|
@@ -7,8 +7,12 @@ from codemie_sdk.models.integration import (
|
|
|
7
7
|
IntegrationType,
|
|
8
8
|
IntegrationTestRequest,
|
|
9
9
|
)
|
|
10
|
-
from tests import PROJECT
|
|
11
|
-
from tests.utils.base_utils import
|
|
10
|
+
from codemie_test_harness.tests import PROJECT
|
|
11
|
+
from codemie_test_harness.tests.utils.base_utils import (
|
|
12
|
+
BaseUtils,
|
|
13
|
+
wait_for_entity,
|
|
14
|
+
get_random_name,
|
|
15
|
+
)
|
|
12
16
|
|
|
13
17
|
|
|
14
18
|
class IntegrationUtils(BaseUtils):
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
from codemie_sdk import CodeMieClient
|
|
2
2
|
from hamcrest import assert_that, greater_than_or_equal_to
|
|
3
3
|
|
|
4
|
-
from tests.utils.base_utils import
|
|
4
|
+
from codemie_test_harness.tests.utils.base_utils import (
|
|
5
|
+
wait_for_entity,
|
|
6
|
+
wait_for_completion,
|
|
7
|
+
clean_json,
|
|
8
|
+
)
|
|
5
9
|
|
|
6
10
|
|
|
7
11
|
class SimilarityCheck:
|
|
@@ -5,15 +5,15 @@ from codemie_sdk.models.workflow import (
|
|
|
5
5
|
WorkflowUpdateRequest,
|
|
6
6
|
WorkflowMode,
|
|
7
7
|
)
|
|
8
|
-
from tests import PROJECT
|
|
9
|
-
from tests.utils import api_domain, verify_ssl
|
|
10
|
-
from tests.utils.base_utils import (
|
|
8
|
+
from codemie_test_harness.tests import PROJECT
|
|
9
|
+
from codemie_test_harness.tests.utils import api_domain, verify_ssl
|
|
10
|
+
from codemie_test_harness.tests.utils.base_utils import (
|
|
11
11
|
BaseUtils,
|
|
12
12
|
get_random_name,
|
|
13
13
|
wait_for_entity,
|
|
14
14
|
wait_for_completion,
|
|
15
15
|
)
|
|
16
|
-
from tests.utils.http_utils import RequestHandler
|
|
16
|
+
from codemie_test_harness.tests.utils.http_utils import RequestHandler
|
|
17
17
|
|
|
18
18
|
workflow_endpoint = "/v1/workflows"
|
|
19
19
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
|
|
3
|
-
from tests.enums.tools import AzureDevOpsTestPlanTool, Toolkit
|
|
4
|
-
from tests.test_data.ado_test_plan_tools_test_data import (
|
|
3
|
+
from codemie_test_harness.tests.enums.tools import AzureDevOpsTestPlanTool, Toolkit
|
|
4
|
+
from codemie_test_harness.tests.test_data.ado_test_plan_tools_test_data import (
|
|
5
5
|
ado_test_plan_get_test_data,
|
|
6
6
|
ADO_TEST_PLAN_CREATE_TEST_PLAN,
|
|
7
7
|
ADO_TEST_PLAN_CREATE_SUITE,
|
|
@@ -9,9 +9,9 @@ from tests.test_data.ado_test_plan_tools_test_data import (
|
|
|
9
9
|
ADO_TEST_PLAN_DELETE_SUITE,
|
|
10
10
|
ADO_TEST_PLAN_DELETE_PLAN,
|
|
11
11
|
)
|
|
12
|
-
from tests.utils.base_utils import get_random_name
|
|
13
|
-
from tests.utils.constants import ID_PATTERN
|
|
14
|
-
from tests.utils.json_utils import extract_id_from_ado_response
|
|
12
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
13
|
+
from codemie_test_harness.tests.utils.constants import ID_PATTERN
|
|
14
|
+
from codemie_test_harness.tests.utils.json_utils import extract_id_from_ado_response
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
@pytest.mark.regression
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
|
|
3
|
-
from tests.enums.tools import AzureDevOpsWikiTool, Toolkit
|
|
4
|
-
from tests.test_data.ado_wiki_tools_test_data import (
|
|
3
|
+
from codemie_test_harness.tests.enums.tools import AzureDevOpsWikiTool, Toolkit
|
|
4
|
+
from codemie_test_harness.tests.test_data.ado_wiki_tools_test_data import (
|
|
5
5
|
ado_wiki_get_test_data,
|
|
6
6
|
ADO_WIKI_CREATE_PAGE,
|
|
7
7
|
ADO_WIKI_RENAME_PAGE,
|
|
8
8
|
ADO_WIKI_MODIFY_PAGE,
|
|
9
9
|
ADO_WIKI_DELETE_PAGE,
|
|
10
10
|
)
|
|
11
|
-
from tests.utils.base_utils import get_random_name
|
|
11
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
@pytest.mark.regression
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
|
|
3
|
-
from tests.enums.tools import AzureDevOpsWorkItemTool, Toolkit
|
|
4
|
-
from tests.test_data.ado_work_item_tools_test_data import (
|
|
3
|
+
from codemie_test_harness.tests.enums.tools import AzureDevOpsWorkItemTool, Toolkit
|
|
4
|
+
from codemie_test_harness.tests.test_data.ado_work_item_tools_test_data import (
|
|
5
5
|
ado_work_item_get_test_data,
|
|
6
6
|
ADO_WORK_ITEM_CREATE,
|
|
7
7
|
ADO_WORK_ITEM_UPDATE,
|
|
8
8
|
ADO_WORK_ITEM_LINK,
|
|
9
9
|
)
|
|
10
|
-
from tests.utils.base_utils import get_random_name
|
|
11
|
-
from tests.utils.constants import WORK_ITEM_ID_PATTERN
|
|
12
|
-
from tests.utils.json_utils import extract_id_from_ado_response
|
|
10
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
11
|
+
from codemie_test_harness.tests.utils.constants import WORK_ITEM_ID_PATTERN
|
|
12
|
+
from codemie_test_harness.tests.utils.json_utils import extract_id_from_ado_response
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
@pytest.mark.regression
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
|
|
3
|
-
from tests.enums.tools import Toolkit, CloudTool
|
|
4
|
-
from tests.test_data.cloud_tools_test_data import cloud_test_data
|
|
3
|
+
from codemie_test_harness.tests.enums.tools import Toolkit, CloudTool
|
|
4
|
+
from codemie_test_harness.tests.test_data.cloud_tools_test_data import cloud_test_data
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
@pytest.mark.regression
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
|
|
3
3
|
from codemie_sdk.models.integration import CredentialTypes
|
|
4
|
-
from tests.enums.tools import CodeBaseTool
|
|
5
|
-
from tests.test_data.codebase_tools_test_data import (
|
|
4
|
+
from codemie_test_harness.tests.enums.tools import CodeBaseTool
|
|
5
|
+
from codemie_test_harness.tests.test_data.codebase_tools_test_data import (
|
|
6
6
|
code_tools_test_data,
|
|
7
7
|
sonar_tools_test_data,
|
|
8
8
|
)
|
|
@@ -3,8 +3,8 @@ import os
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
5
|
from codemie_sdk.models.integration import CredentialTypes
|
|
6
|
-
from tests.enums.tools import DataManagementTool, Toolkit
|
|
7
|
-
from tests.test_data.data_management_tools_test_data import (
|
|
6
|
+
from codemie_test_harness.tests.enums.tools import DataManagementTool, Toolkit
|
|
7
|
+
from codemie_test_harness.tests.test_data.data_management_tools_test_data import (
|
|
8
8
|
ELASTIC_TOOL_TASK,
|
|
9
9
|
RESPONSE_FOR_ELASTIC,
|
|
10
10
|
sql_tools_test_data,
|
|
@@ -14,7 +14,7 @@ from tests.test_data.data_management_tools_test_data import (
|
|
|
14
14
|
SQL_TOOL_QUERY_TABLE_TASK,
|
|
15
15
|
RESPONSE_FOR_SQL,
|
|
16
16
|
)
|
|
17
|
-
from tests.utils.aws_parameters_store import CredentialsUtil
|
|
17
|
+
from codemie_test_harness.tests.utils.aws_parameters_store import CredentialsUtil
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
@pytest.mark.regression
|
|
@@ -4,12 +4,15 @@ from codemie_sdk.models.integration import (
|
|
|
4
4
|
CredentialTypes,
|
|
5
5
|
IntegrationType,
|
|
6
6
|
)
|
|
7
|
-
from tests import PROJECT
|
|
8
|
-
from tests.integrations import integrations
|
|
9
|
-
from tests.enums.tools import Toolkit, ProjectManagementTool
|
|
10
|
-
from tests.test_data.pm_tools_test_data import
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
from codemie_test_harness.tests import PROJECT
|
|
8
|
+
from codemie_test_harness.tests.integrations import integrations
|
|
9
|
+
from codemie_test_harness.tests.enums.tools import Toolkit, ProjectManagementTool
|
|
10
|
+
from codemie_test_harness.tests.test_data.pm_tools_test_data import (
|
|
11
|
+
JIRA_TOOL_PROMPT,
|
|
12
|
+
RESPONSE_FOR_JIRA_TOOL,
|
|
13
|
+
)
|
|
14
|
+
from codemie_test_harness.tests.utils.aws_parameters_store import CredentialsUtil
|
|
15
|
+
from codemie_test_harness.tests.utils.constants import test_project_name
|
|
13
16
|
|
|
14
17
|
|
|
15
18
|
@pytest.mark.not_for_parallel_run
|
|
@@ -4,12 +4,14 @@ from codemie_sdk.models.integration import (
|
|
|
4
4
|
CredentialTypes,
|
|
5
5
|
IntegrationType,
|
|
6
6
|
)
|
|
7
|
-
from tests import PROJECT
|
|
8
|
-
from tests.integrations import integrations
|
|
9
|
-
from tests.enums.tools import Toolkit, AzureDevOpsWikiTool
|
|
10
|
-
from tests.test_data.ado_wiki_tools_test_data import
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
from codemie_test_harness.tests import PROJECT
|
|
8
|
+
from codemie_test_harness.tests.integrations import integrations
|
|
9
|
+
from codemie_test_harness.tests.enums.tools import Toolkit, AzureDevOpsWikiTool
|
|
10
|
+
from codemie_test_harness.tests.test_data.ado_wiki_tools_test_data import (
|
|
11
|
+
ado_wiki_get_test_data,
|
|
12
|
+
)
|
|
13
|
+
from codemie_test_harness.tests.utils.aws_parameters_store import CredentialsUtil
|
|
14
|
+
from codemie_test_harness.tests.utils.constants import test_project_name
|
|
13
15
|
|
|
14
16
|
ado_wiki_prompt = ado_wiki_get_test_data[0][2]
|
|
15
17
|
ado_wiki_answer = ado_wiki_get_test_data[0][3]
|
|
@@ -4,14 +4,14 @@ from codemie_sdk.models.integration import (
|
|
|
4
4
|
CredentialTypes,
|
|
5
5
|
IntegrationType,
|
|
6
6
|
)
|
|
7
|
-
from tests import PROJECT
|
|
8
|
-
from tests.integrations import integrations
|
|
9
|
-
from tests.enums.tools import Toolkit, GitTool
|
|
10
|
-
from tests.test_data.git_tools_test_data import (
|
|
7
|
+
from codemie_test_harness.tests import PROJECT
|
|
8
|
+
from codemie_test_harness.tests.integrations import integrations
|
|
9
|
+
from codemie_test_harness.tests.enums.tools import Toolkit, GitTool
|
|
10
|
+
from codemie_test_harness.tests.test_data.git_tools_test_data import (
|
|
11
11
|
list_branches_set_active_branch_test_data,
|
|
12
12
|
)
|
|
13
|
-
from tests.utils.aws_parameters_store import CredentialsUtil
|
|
14
|
-
from tests.utils.constants import test_project_name
|
|
13
|
+
from codemie_test_harness.tests.utils.aws_parameters_store import CredentialsUtil
|
|
14
|
+
from codemie_test_harness.tests.utils.constants import test_project_name
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
git_tool_prompt = list_branches_set_active_branch_test_data[0][2]
|
|
@@ -3,8 +3,8 @@ import os
|
|
|
3
3
|
import pytest
|
|
4
4
|
from hamcrest import assert_that, contains_string, is_not, all_of
|
|
5
5
|
|
|
6
|
-
from tests.enums.tools import FileManagementTool, Toolkit
|
|
7
|
-
from tests.test_data.file_management_tools_test_data import (
|
|
6
|
+
from codemie_test_harness.tests.enums.tools import FileManagementTool, Toolkit
|
|
7
|
+
from codemie_test_harness.tests.test_data.file_management_tools_test_data import (
|
|
8
8
|
file_management_tools_test_data,
|
|
9
9
|
GENERATE_IMAGE_TOOL_TASK,
|
|
10
10
|
WRITE_FILE_TASK,
|
|
@@ -17,7 +17,7 @@ from tests.test_data.file_management_tools_test_data import (
|
|
|
17
17
|
RESPONSE_FOR_DIFF_UPDATE,
|
|
18
18
|
RESPONSE_FOR_FILE_EDITOR,
|
|
19
19
|
)
|
|
20
|
-
from tests.utils.base_utils import get_random_name
|
|
20
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
@pytest.mark.regression
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
from hamcrest import assert_that, equal_to, not_none
|
|
3
|
-
from tests.utils.base_utils import get_random_name, to_camel_case
|
|
4
|
-
from tests.test_data.git_tools_test_data import (
|
|
3
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name, to_camel_case
|
|
4
|
+
from codemie_test_harness.tests.test_data.git_tools_test_data import (
|
|
5
5
|
list_branches_set_active_branch_test_data,
|
|
6
6
|
create_branch_test_data,
|
|
7
7
|
create_file_test_data,
|
|
@@ -2,7 +2,7 @@ import os
|
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
|
-
from tests.test_data.mcp_server_test_data import (
|
|
5
|
+
from codemie_test_harness.tests.test_data.mcp_server_test_data import (
|
|
6
6
|
FETCH_MCP_SERVER,
|
|
7
7
|
fetch_expected_response,
|
|
8
8
|
time_expected_response,
|
|
@@ -10,7 +10,7 @@ from tests.test_data.mcp_server_test_data import (
|
|
|
10
10
|
time_server_prompt,
|
|
11
11
|
fetch_server_prompt,
|
|
12
12
|
)
|
|
13
|
-
from tests.test_data.mcp_server_test_data import (
|
|
13
|
+
from codemie_test_harness.tests.test_data.mcp_server_test_data import (
|
|
14
14
|
cli_mcp_server_test_data,
|
|
15
15
|
CLI_MCP_SERVER,
|
|
16
16
|
)
|
|
@@ -3,8 +3,8 @@ import os
|
|
|
3
3
|
import pytest
|
|
4
4
|
from hamcrest import assert_that, equal_to
|
|
5
5
|
|
|
6
|
-
from tests.enums.tools import Toolkit, NotificationTool
|
|
7
|
-
from tests.test_data.notification_tools_test_data import (
|
|
6
|
+
from codemie_test_harness.tests.enums.tools import Toolkit, NotificationTool
|
|
7
|
+
from codemie_test_harness.tests.test_data.notification_tools_test_data import (
|
|
8
8
|
EMAIL_TOOL_PROMPT,
|
|
9
9
|
EMAIL_RESPONSE,
|
|
10
10
|
EMAIL_SUBJECT,
|
|
@@ -2,8 +2,10 @@ import os
|
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
|
-
from tests.enums.tools import Toolkit
|
|
6
|
-
from tests.test_data.open_api_tools_test_data import
|
|
5
|
+
from codemie_test_harness.tests.enums.tools import Toolkit
|
|
6
|
+
from codemie_test_harness.tests.test_data.open_api_tools_test_data import (
|
|
7
|
+
open_api_tools_test_data,
|
|
8
|
+
)
|
|
7
9
|
|
|
8
10
|
|
|
9
11
|
@pytest.mark.regression
|
|
@@ -2,13 +2,13 @@ import os
|
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
|
-
from tests.enums.tools import Toolkit
|
|
6
|
-
from tests.test_data.plugin_tools_test_data import (
|
|
5
|
+
from codemie_test_harness.tests.enums.tools import Toolkit
|
|
6
|
+
from codemie_test_harness.tests.test_data.plugin_tools_test_data import (
|
|
7
7
|
list_files_plugin_tools_test_data,
|
|
8
8
|
CREATE_READ_DELETE_FILE_TEST_DATA,
|
|
9
9
|
)
|
|
10
|
-
from tests.utils.base_utils import get_random_name
|
|
11
|
-
from tests.utils.constants import TESTS_PATH
|
|
10
|
+
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
11
|
+
from codemie_test_harness.tests.utils.constants import TESTS_PATH
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
@pytest.mark.regression
|
|
@@ -2,12 +2,12 @@ import os
|
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
|
-
from tests.enums.tools import Toolkit
|
|
6
|
-
from tests.test_data.mcp_server_test_data import (
|
|
5
|
+
from codemie_test_harness.tests.enums.tools import Toolkit
|
|
6
|
+
from codemie_test_harness.tests.test_data.mcp_server_test_data import (
|
|
7
7
|
cli_mcp_server_with_plugin_test_data,
|
|
8
8
|
filesystem_mcp_server_with_plugin_test_data,
|
|
9
9
|
)
|
|
10
|
-
from tests.utils.constants import TESTS_PATH
|
|
10
|
+
from codemie_test_harness.tests.utils.constants import TESTS_PATH
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
@pytest.mark.regression
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import pytest
|
|
2
2
|
|
|
3
|
-
from tests.enums.tools import Toolkit
|
|
4
|
-
from tests.test_data.project_management_test_data import
|
|
5
|
-
|
|
3
|
+
from codemie_test_harness.tests.enums.tools import Toolkit
|
|
4
|
+
from codemie_test_harness.tests.test_data.project_management_test_data import (
|
|
5
|
+
pm_tools_test_data,
|
|
6
|
+
)
|
|
7
|
+
from codemie_test_harness.tests.utils.constants import (
|
|
6
8
|
project_management_integrations,
|
|
7
9
|
)
|
|
8
10
|
|