codemie-test-harness 0.1.122__py3-none-any.whl → 0.1.123__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-0.1.122.dist-info → codemie_test_harness-0.1.123.dist-info}/METADATA +2 -2
- {codemie_test_harness-0.1.122.dist-info → codemie_test_harness-0.1.123.dist-info}/RECORD +17 -17
- tests/assistant/tools/cloud/test_cloud_tools.py +1 -0
- tests/enums/tools.py +1 -0
- tests/integrations/project/test_default_integrations.py +1 -0
- tests/integrations/project/test_project_integrations.py +11 -0
- tests/integrations/user/test_default_integrations.py +1 -0
- tests/integrations/user/test_user_integrations.py +11 -0
- tests/test_data/cloud_tools_test_data.py +26 -5
- tests/test_data/direct_tools/cloud_tools_test_data.py +822 -159
- tests/test_data/integrations_test_data.py +13 -0
- tests/utils/aws_parameters_store.py +21 -0
- tests/workflow/assistant_tools/cloud/test_workflow_with_assistant_cloud_tools.py +1 -0
- tests/workflow/direct_tools_calling/test_workflow_with_cloud_tools.py +3 -0
- tests/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py +1 -0
- {codemie_test_harness-0.1.122.dist-info → codemie_test_harness-0.1.123.dist-info}/WHEEL +0 -0
- {codemie_test_harness-0.1.122.dist-info → codemie_test_harness-0.1.123.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: codemie-test-harness
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.123
|
|
4
4
|
Summary: Autotest for CodeMie backend and UI
|
|
5
5
|
Author: Anton Yeromin
|
|
6
6
|
Author-email: anton_yeromin@epam.com
|
|
@@ -13,7 +13,7 @@ Requires-Dist: aws-assume-role-lib (>=2.10.0,<3.0.0)
|
|
|
13
13
|
Requires-Dist: boto3 (>=1.39.8,<2.0.0)
|
|
14
14
|
Requires-Dist: click (>=8.1.7,<9.0.0)
|
|
15
15
|
Requires-Dist: codemie-plugins (>=0.1.123,<0.2.0)
|
|
16
|
-
Requires-Dist: codemie-sdk-python (==0.1.
|
|
16
|
+
Requires-Dist: codemie-sdk-python (==0.1.123)
|
|
17
17
|
Requires-Dist: pytest (>=8.4.1,<9.0.0)
|
|
18
18
|
Requires-Dist: pytest-playwright (>=0.7.0,<0.8.0)
|
|
19
19
|
Requires-Dist: pytest-reportportal (>=5.5.2,<6.0.0)
|
|
@@ -25,7 +25,7 @@ tests/assistant/tools/ado/test_assistant_for_ado_test_plan_tools.py,sha256=lrcx5
|
|
|
25
25
|
tests/assistant/tools/ado/test_assistant_for_ado_wiki_tools.py,sha256=jSwT1XqUGdV6scCADNN9u1VTDhTc6fGT6NCgb_xCLok,3380
|
|
26
26
|
tests/assistant/tools/ado/test_assistant_for_ado_work_item_tools.py,sha256=-3q4QL4NLNjFtCm5ZKVblOCGnohryKaOu1rZm2NJQpk,3233
|
|
27
27
|
tests/assistant/tools/cloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
|
-
tests/assistant/tools/cloud/test_cloud_tools.py,sha256=
|
|
28
|
+
tests/assistant/tools/cloud/test_cloud_tools.py,sha256=FIn1QZYYCBG-RyRPfhjzjGElP_MIkCYszdsSwESAR8U,996
|
|
29
29
|
tests/assistant/tools/codebase/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
tests/assistant/tools/codebase/test_codebase_tools.py,sha256=LC-j1VLarmihp6EpDwLgGVwin979X7_NZm5bYyEJswQ,1582
|
|
31
31
|
tests/assistant/tools/datamanagement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -58,14 +58,14 @@ tests/e2e/test_e2e.py,sha256=_jWiDgUhOpO2p2VH987RXepS3PKvd1pSd3IFxKtK_z4,6215
|
|
|
58
58
|
tests/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
59
59
|
tests/enums/integrations.py,sha256=WEfqnOLqa4m8CH8BjQ9bxty0-w4nsZGy0Ok6SuQoqow,143
|
|
60
60
|
tests/enums/model_types.py,sha256=k07srBYIF9uRwbLWY9pBNYzi0s3Jdt8ajES9p-UmrYo,1185
|
|
61
|
-
tests/enums/tools.py,sha256=
|
|
61
|
+
tests/enums/tools.py,sha256=pGsHRGmPcLUqNtR2bKdRgsxdHw7HylXOWd9CPKPGOb0,5072
|
|
62
62
|
tests/integrations/__init__.py,sha256=5vnZbxvYQ1Y91O8DJG3QfBHWcdYsMii59cMBzsvHBCg,237
|
|
63
63
|
tests/integrations/project/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
64
|
-
tests/integrations/project/test_default_integrations.py,sha256=
|
|
65
|
-
tests/integrations/project/test_project_integrations.py,sha256=
|
|
64
|
+
tests/integrations/project/test_default_integrations.py,sha256=PwkVOYZlKECI2UltCYw3EAwL1dM7BTLdi4IGTQ_igOs,8492
|
|
65
|
+
tests/integrations/project/test_project_integrations.py,sha256=cfNqEtkTMNYjsByvCsEl9JZhRoPZq7lMZYGJqhvP3iw,13849
|
|
66
66
|
tests/integrations/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
67
|
-
tests/integrations/user/test_default_integrations.py,sha256=
|
|
68
|
-
tests/integrations/user/test_user_integrations.py,sha256=
|
|
67
|
+
tests/integrations/user/test_default_integrations.py,sha256=xsodRbbieRsP0jHIcgR07SufMeIt68m-vavwU3JXtXo,8474
|
|
68
|
+
tests/integrations/user/test_user_integrations.py,sha256=wmTYEK55y5aKU-DjOMyJnI_0gPnvAuiLD-HJlasnG1s,13708
|
|
69
69
|
tests/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
70
|
tests/llm/assistants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
71
71
|
tests/llm/assistants/test_llm.py,sha256=PQ75ACV2CuBd4LR86fQ-sQPf-lHPd77lXHCXg9Gi5ZA,1796
|
|
@@ -87,14 +87,14 @@ tests/test_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
87
87
|
tests/test_data/ado_test_plan_tools_test_data.py,sha256=K-k6YX4FnSgVt2VRylI4CCEGbeumzPg_xFWWOMJcCIg,5757
|
|
88
88
|
tests/test_data/ado_wiki_tools_test_data.py,sha256=UFycB5GsFiIW-Vnb5WYl1VQ9CWofAfb_HuFUKDd2ZXc,3167
|
|
89
89
|
tests/test_data/ado_work_item_tools_test_data.py,sha256=aiLccu3klMxEYMQjL4lLSg1qFP9h1ItaqzEKJ4_STIc,5672
|
|
90
|
-
tests/test_data/cloud_tools_test_data.py,sha256=
|
|
90
|
+
tests/test_data/cloud_tools_test_data.py,sha256=OVAkW6fWptJxHbYXzbzgx6c2yTOOOtJvc4W1ljrCuQs,4659
|
|
91
91
|
tests/test_data/codebase_tools_test_data.py,sha256=MjA9MLwiSCwmQjqdO7ZCg8LiYEB9trDZxHwnIIuAgOs,3089
|
|
92
92
|
tests/test_data/data_management_tools_test_data.py,sha256=lq0ICWDfIHoWkuuCB6fxYa7-aCmh2pbns5F_cIkkfDc,3780
|
|
93
93
|
tests/test_data/direct_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
94
94
|
tests/test_data/direct_tools/ado_test_plan_tools_test_data.py,sha256=kowneL1T8izSGtbi2Fe0oBKm0ZfT-4VHex0AXKwMHeA,13099
|
|
95
95
|
tests/test_data/direct_tools/ado_wiki_tools_test_data.py,sha256=lZr2xa0EVU648vbjbiKOctUrM8WZLKEaXSvkexxuK9E,1411
|
|
96
96
|
tests/test_data/direct_tools/ado_work_item_tools_test_data.py,sha256=N8nC6xf6fnrv2BkNX9ylkIDyGuGelECf3P03XEngllc,7396
|
|
97
|
-
tests/test_data/direct_tools/cloud_tools_test_data.py,sha256=
|
|
97
|
+
tests/test_data/direct_tools/cloud_tools_test_data.py,sha256=BzMlN8OgfNW2p9Amp_1gBn6IN61lW2ezhgWkUdNOIEg,35462
|
|
98
98
|
tests/test_data/direct_tools/codebase_tools_test_data.py,sha256=QrI2Pe88L5rPwCZqgfaZFX8ucR7GPTqmC-mmOswCN8M,11066
|
|
99
99
|
tests/test_data/direct_tools/data_management_tools_test_data.py,sha256=gk3qE1srP11g_Qx7u3tWQor7dA9SvbVXqIQ_GKGYgsg,672
|
|
100
100
|
tests/test_data/direct_tools/direct_tools_test_data.py,sha256=hEy9frn13kqia4Qy7Vx7WtS-euOm5MqYOblWDM2vzgM,3191
|
|
@@ -132,7 +132,7 @@ tests/test_data/files/video-file.mp4,sha256=cZRNdDDEYfDNbn_RDO5-tyeGNSo2ePx7wK49
|
|
|
132
132
|
tests/test_data/git_tools_test_data.py,sha256=8iZNUWvQzrzE-aXMH1CdaGB9pNP9s8ywkU5ZE7AdJRU,8464
|
|
133
133
|
tests/test_data/google_datasource_test_data.py,sha256=fhMJVTU0udINKtBQ750c_c279NzibGiZumnIaCPLtBo,511
|
|
134
134
|
tests/test_data/index_test_data.py,sha256=jSJ7YSNisFADONRKSwkLUhuOLrSRe_fZisWdjflOjE4,996
|
|
135
|
-
tests/test_data/integrations_test_data.py,sha256=
|
|
135
|
+
tests/test_data/integrations_test_data.py,sha256=fuN1TDBBUj8kFrKzfnoAun7WU_VG5lj41QdQvzr_b4M,6223
|
|
136
136
|
tests/test_data/llm_test_data.py,sha256=SCjJ7umqx2YSdGfMu0zoK6GlCwEjfLvWA_kxvzzfEMU,2236
|
|
137
137
|
tests/test_data/mcp_server_test_data.py,sha256=kF8sv_HdAYUQTkT4I0LGnG4Oj-_buybEUHi5FIlLvls,7629
|
|
138
138
|
tests/test_data/notification_tools_test_data.py,sha256=RmFWcuPrWS-xiZspu5n1wH40_oezh4ZhjomQlXeZ2G8,807
|
|
@@ -209,7 +209,7 @@ tests/ui/test_workflow_templates.py,sha256=hD1loa2H_fDVW4DuxvD0chz8Od27Aa_nA6AU8
|
|
|
209
209
|
tests/ui/test_workflows.py,sha256=xWSeUg3c-Ky7-yNnFkK7KNA3tKpvsCyyPCVfGExc5a4,3434
|
|
210
210
|
tests/utils/__init__.py,sha256=IytbI4DHEFmsvw_TJJVUNP6ZB6upkajgpSkw_MAurwc,162
|
|
211
211
|
tests/utils/assistant_utils.py,sha256=xQHgYknCPp0tgZwIvoq3IGwCDtW0qoEfcp1-UQjBpmM,5144
|
|
212
|
-
tests/utils/aws_parameters_store.py,sha256=
|
|
212
|
+
tests/utils/aws_parameters_store.py,sha256=9SXIPoGSB-giyFvOgZ60TzpudyyojZuAQhn47VHbRMs,20051
|
|
213
213
|
tests/utils/base_utils.py,sha256=9kfGJs-Bp8m2f_lAQACH2rtNxnUYTOcDPWmU4mJX1Gc,5970
|
|
214
214
|
tests/utils/client_factory.py,sha256=Yyg2iXe7g7fIfIUbOH8z_8qgVo_lB-nYLOfCV5ONXFw,641
|
|
215
215
|
tests/utils/constants.py,sha256=pQB9dC2MgT8X1wPA0rWmGJn4HSWCpUZvvLuI42kw2nY,1090
|
|
@@ -233,7 +233,7 @@ tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_test_pl
|
|
|
233
233
|
tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_wiki_tools.py,sha256=VaAYk8n0bM3b5nFxvvMWhqXa8TlMnp1PlU_BMJMB0Xk,3391
|
|
234
234
|
tests/workflow/assistant_tools/ado/test_workflow_with_assistant_with_ado_work_item_tools.py,sha256=l0ELoXX_vzM1W5oWunbkaEXoSuoJGP9RXn_fVLAOq74,3217
|
|
235
235
|
tests/workflow/assistant_tools/cloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
236
|
-
tests/workflow/assistant_tools/cloud/test_workflow_with_assistant_cloud_tools.py,sha256=
|
|
236
|
+
tests/workflow/assistant_tools/cloud/test_workflow_with_assistant_cloud_tools.py,sha256=oWUITzWoTFmHBuezjuTkFXz8NbJGcbPerTAnGf3bu2o,1128
|
|
237
237
|
tests/workflow/assistant_tools/codebase/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
238
238
|
tests/workflow/assistant_tools/codebase/test_worfklow_with_assistant_codebase_tools.py,sha256=KQ61_1d2i8tgHEcwD-FmZjO6t2094uTvg2nVJsOf140,1920
|
|
239
239
|
tests/workflow/assistant_tools/data_management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -272,7 +272,7 @@ tests/workflow/direct_tools_calling/default_integrations/test_default_integratio
|
|
|
272
272
|
tests/workflow/direct_tools_calling/test_workflow_with_ado_test_plan_tools.py,sha256=HNJ9wxLcc5DnFSCdDrzM0WmOIkafyRT5YckUxhoA8O8,2643
|
|
273
273
|
tests/workflow/direct_tools_calling/test_workflow_with_ado_wiki_tools.py,sha256=hQUDj71Uzt0zkNjPP_b_opXfFl-SnUb9rpHxUO65jAk,2693
|
|
274
274
|
tests/workflow/direct_tools_calling/test_workflow_with_ado_work_item_tools.py,sha256=sXGmqswUXgjZbfRWAbz65ZvcGe1AJVquKFahGn8LfEM,2757
|
|
275
|
-
tests/workflow/direct_tools_calling/test_workflow_with_cloud_tools.py,sha256=
|
|
275
|
+
tests/workflow/direct_tools_calling/test_workflow_with_cloud_tools.py,sha256=0gjWaURg61PDhW7E16K7qam50OESdIBZw7puPcxJwKk,3467
|
|
276
276
|
tests/workflow/direct_tools_calling/test_workflow_with_codebase_tools.py,sha256=wygzuEVyWswZrWp8hcsD4gjLsG97EvvQ1QJPfWGS61Q,3737
|
|
277
277
|
tests/workflow/direct_tools_calling/test_workflow_with_data_management_tools.py,sha256=dE8y6mTpmNiBL6t_OFBzKZrYwtQiJaAVBFG9TfYaxV8,3674
|
|
278
278
|
tests/workflow/direct_tools_calling/test_workflow_with_file_management_tools.py,sha256=pNAqimzrCRdxo3t_XtaPRR6a6Ddi3yvnzYg9E9VlhAk,2631
|
|
@@ -288,7 +288,7 @@ tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_test_plan_tool
|
|
|
288
288
|
tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_wiki_tools.py,sha256=xoQh9OI81aG78q731FsM_7T_0CGvGBtZGBdR6vvBnBA,4085
|
|
289
289
|
tests/workflow/virtual_assistant_tools/ado/test_workflow_with_ado_work_item_tools.py,sha256=XNkwtjZRYqY4RhLbpYfoEqZIj0OZm_N--9_-6pqL_0k,3663
|
|
290
290
|
tests/workflow/virtual_assistant_tools/cloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
291
|
-
tests/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py,sha256=
|
|
291
|
+
tests/workflow/virtual_assistant_tools/cloud/test_workflow_with_cloud_tools.py,sha256=9D11YxfMLyW4idgaTouj17pJEGDZQpk_BFKPTWzoaEw,1349
|
|
292
292
|
tests/workflow/virtual_assistant_tools/codebase/__init__.py,sha256=kCzJLR44IfB9ZncaLNOtyUqlzvyOG3BXclsDFS5MaQg,46
|
|
293
293
|
tests/workflow/virtual_assistant_tools/codebase/test_workflow_with_codebase_tools.py,sha256=XXRNWUxz2xOEV_dUf7URNv4WCuIv5iMJwgjJ2zHEUxQ,3007
|
|
294
294
|
tests/workflow/virtual_assistant_tools/data_management/__init__.py,sha256=Vk3MBJAVfJA8uxRJdY3aH_5lCWkTBcE_l9xw5FzUt7I,53
|
|
@@ -318,7 +318,7 @@ tests/workflow/virtual_assistant_tools/servicenow/__init__.py,sha256=47DEQpj8HBS
|
|
|
318
318
|
tests/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py,sha256=ecTfkwxPMbyyEKS-dArAQkluZURO1nThwDdD66mgC3E,814
|
|
319
319
|
tests/workflow/virtual_assistant_tools/vcs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
320
320
|
tests/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py,sha256=G0iI3X7SGEEy1Z2Hc7j917saY3lpzgfil_GtALCFilE,1043
|
|
321
|
-
codemie_test_harness-0.1.
|
|
322
|
-
codemie_test_harness-0.1.
|
|
323
|
-
codemie_test_harness-0.1.
|
|
324
|
-
codemie_test_harness-0.1.
|
|
321
|
+
codemie_test_harness-0.1.123.dist-info/METADATA,sha256=z5Orq8zV-GXcyEfgt5g-sCroRDyjEWGh2WZo0RhUHfg,8998
|
|
322
|
+
codemie_test_harness-0.1.123.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
323
|
+
codemie_test_harness-0.1.123.dist-info/entry_points.txt,sha256=n98t-EOM5M1mnMl_j2X4siyeO9zr0WD9a5LF7JyElIM,73
|
|
324
|
+
codemie_test_harness-0.1.123.dist-info/RECORD,,
|
|
@@ -12,6 +12,7 @@ from tests.test_data.cloud_tools_test_data import cloud_test_data
|
|
|
12
12
|
f"{Toolkit.CLOUD}_{CloudTool.AWS}",
|
|
13
13
|
f"{Toolkit.CLOUD}_{CloudTool.AZURE}",
|
|
14
14
|
f"{Toolkit.CLOUD}_{CloudTool.GCP}",
|
|
15
|
+
f"{Toolkit.CLOUD}_{CloudTool.KUBERNETES}",
|
|
15
16
|
],
|
|
16
17
|
)
|
|
17
18
|
def test_assistant_with_cloud_tools(
|
tests/enums/tools.py
CHANGED
|
@@ -42,6 +42,7 @@ from tests.utils.base_utils import get_random_name, assert_error_details
|
|
|
42
42
|
f"Project integration: {CredentialTypes.EMAIL}",
|
|
43
43
|
f"Project integration: {CredentialTypes.TELEGRAM}",
|
|
44
44
|
f"Project integration: {CredentialTypes.SERVICE_NOW}",
|
|
45
|
+
f"Project integration: {CredentialTypes.KUBERNETES}",
|
|
45
46
|
],
|
|
46
47
|
)
|
|
47
48
|
@pytest.mark.regression
|
|
@@ -85,6 +86,7 @@ def test_integration_created(
|
|
|
85
86
|
f"Project integration: {CredentialTypes.JIRA}",
|
|
86
87
|
f"Project integration: {CredentialTypes.EMAIL}",
|
|
87
88
|
f"Project integration: {CredentialTypes.SERVICE_NOW}",
|
|
89
|
+
f"Project integration: {CredentialTypes.KUBERNETES}",
|
|
88
90
|
],
|
|
89
91
|
)
|
|
90
92
|
@pytest.mark.regression
|
|
@@ -142,9 +144,11 @@ def test_integration_after_creation(
|
|
|
142
144
|
f"Project integration: {CredentialTypes.EMAIL}",
|
|
143
145
|
f"Project integration: {CredentialTypes.TELEGRAM}",
|
|
144
146
|
f"Project integration: {CredentialTypes.SERVICE_NOW}",
|
|
147
|
+
f"Project integration: {CredentialTypes.KUBERNETES}",
|
|
145
148
|
],
|
|
146
149
|
)
|
|
147
150
|
@pytest.mark.tescase("EPMCDME-2376")
|
|
151
|
+
@pytest.mark.regression
|
|
148
152
|
def test_update_integration(
|
|
149
153
|
credential_type, credentials, general_integration, integration_utils
|
|
150
154
|
):
|
|
@@ -195,8 +199,10 @@ def test_update_integration(
|
|
|
195
199
|
f"Project integration: {CredentialTypes.JIRA}",
|
|
196
200
|
f"Project integration: {CredentialTypes.CONFLUENCE}",
|
|
197
201
|
f"Project integration: {CredentialTypes.SERVICE_NOW}",
|
|
202
|
+
f"Project integration: {CredentialTypes.KUBERNETES}",
|
|
198
203
|
],
|
|
199
204
|
)
|
|
205
|
+
@pytest.mark.regression
|
|
200
206
|
def test_integration_with_invalid_credentials(
|
|
201
207
|
credential_type, credentials, error_message, integration_utils
|
|
202
208
|
):
|
|
@@ -246,8 +252,10 @@ def test_integration_with_invalid_credentials(
|
|
|
246
252
|
f"Project integration: {CredentialTypes.JIRA}",
|
|
247
253
|
f"Project integration: {CredentialTypes.EMAIL}",
|
|
248
254
|
f"Project integration: {CredentialTypes.SERVICE_NOW}",
|
|
255
|
+
f"Project integration: {CredentialTypes.KUBERNETES}",
|
|
249
256
|
],
|
|
250
257
|
)
|
|
258
|
+
@pytest.mark.regression
|
|
251
259
|
def test_integration_during_creation(credential_type, credentials, integration_utils):
|
|
252
260
|
integration_test_model = IntegrationTestRequest(
|
|
253
261
|
credential_type=credential_type,
|
|
@@ -278,8 +286,10 @@ def test_integration_during_creation(credential_type, credentials, integration_u
|
|
|
278
286
|
f"Project integration: {CredentialTypes.JIRA}",
|
|
279
287
|
f"Project integration: {CredentialTypes.CONFLUENCE}",
|
|
280
288
|
f"Project integration: {CredentialTypes.SERVICE_NOW}",
|
|
289
|
+
f"Project integration: {CredentialTypes.KUBERNETES}",
|
|
281
290
|
],
|
|
282
291
|
)
|
|
292
|
+
@pytest.mark.regression
|
|
283
293
|
def test_integration_during_creation_with_invalid_credentials(
|
|
284
294
|
credential_type, credentials, error_message, integration_utils
|
|
285
295
|
):
|
|
@@ -319,6 +329,7 @@ def test_integration_during_creation_with_invalid_credentials(
|
|
|
319
329
|
f"Project integration: {CredentialTypes.EMAIL}",
|
|
320
330
|
f"Project integration: {CredentialTypes.TELEGRAM}",
|
|
321
331
|
f"Project integration: {CredentialTypes.SERVICE_NOW}",
|
|
332
|
+
f"Project integration: {CredentialTypes.KUBERNETES}",
|
|
322
333
|
],
|
|
323
334
|
)
|
|
324
335
|
@pytest.mark.tescase("EPMCDME-2374")
|
|
@@ -45,6 +45,7 @@ from tests.utils.base_utils import (
|
|
|
45
45
|
f"User integration: {CredentialTypes.EMAIL}",
|
|
46
46
|
f"User integration: {CredentialTypes.TELEGRAM}",
|
|
47
47
|
f"User integration: {CredentialTypes.SERVICE_NOW}",
|
|
48
|
+
f"User integration: {CredentialTypes.KUBERNETES}",
|
|
48
49
|
],
|
|
49
50
|
)
|
|
50
51
|
@pytest.mark.regression
|
|
@@ -89,6 +90,7 @@ def test_integration_created(
|
|
|
89
90
|
f"User integration: {CredentialTypes.JIRA}",
|
|
90
91
|
f"User integration: {CredentialTypes.EMAIL}",
|
|
91
92
|
f"User integration: {CredentialTypes.SERVICE_NOW}",
|
|
93
|
+
f"User integration: {CredentialTypes.KUBERNETES}",
|
|
92
94
|
],
|
|
93
95
|
)
|
|
94
96
|
@pytest.mark.regression
|
|
@@ -147,9 +149,11 @@ def test_integration_after_creation(
|
|
|
147
149
|
f"User integration: {CredentialTypes.EMAIL}",
|
|
148
150
|
f"User integration: {CredentialTypes.TELEGRAM}",
|
|
149
151
|
f"User integration: {CredentialTypes.SERVICE_NOW}",
|
|
152
|
+
f"User integration: {CredentialTypes.KUBERNETES}",
|
|
150
153
|
],
|
|
151
154
|
)
|
|
152
155
|
@pytest.mark.tescase("EPMCDME-2375")
|
|
156
|
+
@pytest.mark.regression
|
|
153
157
|
def test_update_integration(
|
|
154
158
|
credential_type, credentials, general_integration, integration_utils
|
|
155
159
|
):
|
|
@@ -200,9 +204,11 @@ def test_update_integration(
|
|
|
200
204
|
f"User integration: {CredentialTypes.JIRA}",
|
|
201
205
|
f"User integration: {CredentialTypes.CONFLUENCE}",
|
|
202
206
|
f"User integration: {CredentialTypes.SERVICE_NOW}",
|
|
207
|
+
f"User integration: {CredentialTypes.KUBERNETES}",
|
|
203
208
|
],
|
|
204
209
|
)
|
|
205
210
|
@pytest.mark.tescase("EPMCDME-3111, EPMCDME-2379, EPMCDME-2384")
|
|
211
|
+
@pytest.mark.regression
|
|
206
212
|
def test_integration_with_invalid_credentials(
|
|
207
213
|
credential_type, credentials, error_message, integration_utils
|
|
208
214
|
):
|
|
@@ -252,8 +258,10 @@ def test_integration_with_invalid_credentials(
|
|
|
252
258
|
f"User integration: {CredentialTypes.JIRA}",
|
|
253
259
|
f"User integration: {CredentialTypes.EMAIL}",
|
|
254
260
|
f"User integration: {CredentialTypes.SERVICE_NOW}",
|
|
261
|
+
f"User integration: {CredentialTypes.KUBERNETES}",
|
|
255
262
|
],
|
|
256
263
|
)
|
|
264
|
+
@pytest.mark.regression
|
|
257
265
|
def test_integration_during_creation(credential_type, credentials, integration_utils):
|
|
258
266
|
integration_test_model = IntegrationTestRequest(
|
|
259
267
|
credential_type=credential_type,
|
|
@@ -284,8 +292,10 @@ def test_integration_during_creation(credential_type, credentials, integration_u
|
|
|
284
292
|
f"User integration: {CredentialTypes.JIRA}",
|
|
285
293
|
f"User integration: {CredentialTypes.CONFLUENCE}",
|
|
286
294
|
f"User integration: {CredentialTypes.SERVICE_NOW}",
|
|
295
|
+
f"User integration: {CredentialTypes.KUBERNETES}",
|
|
287
296
|
],
|
|
288
297
|
)
|
|
298
|
+
@pytest.mark.regression
|
|
289
299
|
def test_integration_during_creation_with_invalid_credentials(
|
|
290
300
|
credential_type, credentials, error_message, integration_utils
|
|
291
301
|
):
|
|
@@ -325,6 +335,7 @@ def test_integration_during_creation_with_invalid_credentials(
|
|
|
325
335
|
f"User integration: {CredentialTypes.EMAIL}",
|
|
326
336
|
f"User integration: {CredentialTypes.TELEGRAM}",
|
|
327
337
|
f"User integration: {CredentialTypes.SERVICE_NOW}",
|
|
338
|
+
f"User integration: {CredentialTypes.KUBERNETES}",
|
|
328
339
|
],
|
|
329
340
|
)
|
|
330
341
|
@pytest.mark.tescase("EPMCDME-2373")
|
|
@@ -51,7 +51,7 @@ cloud_test_data = [
|
|
|
51
51
|
CredentialsUtil.gcp_credentials(),
|
|
52
52
|
"""
|
|
53
53
|
Get information about bucket with Name 009fb622-4e29-42aa-bafd-584c61f5e1e1
|
|
54
|
-
|
|
54
|
+
|
|
55
55
|
Data is required: [
|
|
56
56
|
"Kind",
|
|
57
57
|
"Self Link",
|
|
@@ -72,11 +72,11 @@ cloud_test_data = [
|
|
|
72
72
|
"IAM Configuration Bucket Policy Only",
|
|
73
73
|
"IAM Configuration Uniform Bucket Level Access",
|
|
74
74
|
"IAM Configuration Public Access Prevention"
|
|
75
|
-
]
|
|
75
|
+
]
|
|
76
76
|
""",
|
|
77
77
|
"""
|
|
78
78
|
Here is the information about the bucket with Name `009fb622-4e29-42aa-bafd-584c61f5e1e1`:
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
- **Kind**: `storage#bucket`
|
|
81
81
|
- **Self Link**: [Bucket Link](https://www.googleapis.com/storage/v1/b/009fb622-4e29-42aa-bafd-584c61f5e1e1)
|
|
82
82
|
- **ID**: `009fb622-4e29-42aa-bafd-584c61f5e1e1`
|
|
@@ -91,11 +91,11 @@ cloud_test_data = [
|
|
|
91
91
|
- **Updated**: `2024-11-11T14:20:34.897Z`
|
|
92
92
|
- **Location Type**: `multi-region`
|
|
93
93
|
- **RPO**: `DEFAULT`
|
|
94
|
-
|
|
94
|
+
|
|
95
95
|
**Soft Delete Policy**:
|
|
96
96
|
- **Retention Duration Seconds**: `604800`
|
|
97
97
|
- **Effective Time**: `2024-11-11T14:20:34.897Z`
|
|
98
|
-
|
|
98
|
+
|
|
99
99
|
**IAM Configuration**:
|
|
100
100
|
- **Bucket Policy Only**: `False`
|
|
101
101
|
- **Uniform Bucket Level Access**: `False`
|
|
@@ -106,4 +106,25 @@ cloud_test_data = [
|
|
|
106
106
|
reason="Still have an issue with encoding long strings",
|
|
107
107
|
),
|
|
108
108
|
),
|
|
109
|
+
(
|
|
110
|
+
Toolkit.CLOUD,
|
|
111
|
+
CloudTool.KUBERNETES,
|
|
112
|
+
CredentialTypes.KUBERNETES,
|
|
113
|
+
CredentialsUtil.kubernetes_credentials(),
|
|
114
|
+
"""
|
|
115
|
+
List service names in the argocd namespace. Return only names, no need to return other data
|
|
116
|
+
""",
|
|
117
|
+
"""
|
|
118
|
+
Here are the service names in the `argocd` namespace:
|
|
119
|
+
|
|
120
|
+
1. argo-cd-argocd-applicationset-controller
|
|
121
|
+
2. argo-cd-argocd-repo-server
|
|
122
|
+
3. argo-cd-argocd-server
|
|
123
|
+
4. argo-cd-redis-ha
|
|
124
|
+
5. argo-cd-redis-ha-announce-0
|
|
125
|
+
6. argo-cd-redis-ha-announce-1
|
|
126
|
+
7. argo-cd-redis-ha-announce-2
|
|
127
|
+
8. argo-cd-redis-ha-haproxy
|
|
128
|
+
""",
|
|
129
|
+
),
|
|
109
130
|
]
|