codemie-test-harness 0.1.152__py3-none-any.whl → 0.1.153__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.

@@ -1,3 +1,4 @@
1
+ import atexit
1
2
  import os
2
3
  import subprocess
3
4
  import uuid
@@ -56,6 +57,26 @@ from codemie_test_harness.tests.utils.yaml_utils import (
56
57
  logger = setup_logger(__name__)
57
58
 
58
59
 
60
+ def force_finish_rp_launch():
61
+ from reportportal_client._internal.local import current
62
+
63
+ client = current()
64
+ if client and hasattr(client, "finish_launch") and hasattr(client, "launch_uuid"):
65
+ if (
66
+ client.launch_uuid
67
+ and hasattr(client, "use_own_launch")
68
+ and client.use_own_launch
69
+ ):
70
+ from datetime import datetime, timezone
71
+
72
+ sleep(300)
73
+ end_time = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%S.%fZ")
74
+ client.finish_launch(end_time)
75
+
76
+
77
+ atexit.register(force_finish_rp_launch)
78
+
79
+
59
80
  def pytest_configure(config):
60
81
  """Pytest hook that runs before test collection starts.
61
82
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: codemie-test-harness
3
- Version: 0.1.152
3
+ Version: 0.1.153
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.152)
16
+ Requires-Dist: codemie-sdk-python (==0.1.153)
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)
@@ -57,7 +57,7 @@ codemie_test_harness/tests/assistant/tools/servicenow/__init__.py,sha256=47DEQpj
57
57
  codemie_test_harness/tests/assistant/tools/servicenow/test_servicenow_tools.py,sha256=JV_n6COaCsd0_rxQBJvvLZfPdo8BsCbG8Ti-UpzFvfQ,644
58
58
  codemie_test_harness/tests/assistant/tools/vcs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
59
59
  codemie_test_harness/tests/assistant/tools/vcs/test_assistant_with_vcs_tools.py,sha256=5-QybLWmYSqHG4Sqr-IN-vNcStV4skSwCJQN44Nfats,922
60
- codemie_test_harness/tests/conftest.py,sha256=vdwSEvnDeIT7FUSNWjktFpq-lTRKegFWVtPhU7LrHAI,28384
60
+ codemie_test_harness/tests/conftest.py,sha256=8vS5V0x-PeCT7bjZiIwBW6LsrLQWp0Q4zcr7MR6y1Uw,28989
61
61
  codemie_test_harness/tests/conversations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  codemie_test_harness/tests/conversations/test_conversations_endpoints.py,sha256=SQraRVrjjE4mYTs4EuGzMrO96DuOuKTiYQ4ZRBhHx70,3913
63
63
  codemie_test_harness/tests/e2e/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -336,7 +336,7 @@ codemie_test_harness/tests/workflow/virtual_assistant_tools/servicenow/__init__.
336
336
  codemie_test_harness/tests/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py,sha256=Cxe5Yuy9JE_IEsnQOThpVIZQqpfLuHfDkF6JwLngDc8,890
337
337
  codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
338
338
  codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py,sha256=tm0NvUf_UtzLPTYJWykYpsNoxoVs-Eh80guDmRwImwg,1106
339
- codemie_test_harness-0.1.152.dist-info/METADATA,sha256=axUlwm9L0S8Y0RSdhosOBzxTSA-KFECTjbDjfzbonKU,8998
340
- codemie_test_harness-0.1.152.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
341
- codemie_test_harness-0.1.152.dist-info/entry_points.txt,sha256=n98t-EOM5M1mnMl_j2X4siyeO9zr0WD9a5LF7JyElIM,73
342
- codemie_test_harness-0.1.152.dist-info/RECORD,,
339
+ codemie_test_harness-0.1.153.dist-info/METADATA,sha256=YYShxudv9T1c6t_FdmkNf6_qkHcIY-AtiSU9S5VO9iI,8998
340
+ codemie_test_harness-0.1.153.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
341
+ codemie_test_harness-0.1.153.dist-info/entry_points.txt,sha256=n98t-EOM5M1mnMl_j2X4siyeO9zr0WD9a5LF7JyElIM,73
342
+ codemie_test_harness-0.1.153.dist-info/RECORD,,