hardpy 0.15.2__py3-none-any.whl → 0.16.0__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.
- hardpy/__init__.py +7 -5
- hardpy/cli/cli.py +16 -10
- hardpy/common/config.py +70 -50
- hardpy/{pytest_hardpy/utils → common}/singleton.py +1 -1
- hardpy/hardpy_panel/api.py +13 -2
- hardpy/hardpy_panel/frontend/dist/assets/{allPaths-CV5wjLMB.js → allPaths-Cy69sdSD.js} +1 -1
- hardpy/hardpy_panel/frontend/dist/assets/{allPathsLoader-JIzW_pSb.js → allPathsLoader-D993NqQ9.js} +2 -2
- hardpy/hardpy_panel/frontend/dist/assets/{blueprint-icons-16-Bfs1BwbR.ttf → blueprint-icons-16-B2twAPZE.ttf} +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/{blueprint-icons-16-RCDSkC4W.eot → blueprint-icons-16-C0Unyq1d.eot} +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/{blueprint-icons-16-CzsyEoPG.svg → blueprint-icons-16-CVy9qFng.svg} +249 -3
- hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-Ck1ifK4A.woff +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-DwWyHYRo.woff2 +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-9zitLjlL.woff2 +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-CjKGIKxE.woff +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/{blueprint-icons-20-DyVnGNfQ.svg → blueprint-icons-20-DQ09GSQq.svg} +249 -3
- hardpy/hardpy_panel/frontend/dist/assets/{blueprint-icons-20-BGGGsqDJ.ttf → blueprint-icons-20-DmR755bS.ttf} +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/{blueprint-icons-20-Doom1bSH.eot → blueprint-icons-20-p9MhBXD8.eot} +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/browser-ponyfill-DD76sq2d.js +2 -0
- hardpy/hardpy_panel/frontend/dist/assets/index-B-fsa5Ru.js +1 -0
- hardpy/hardpy_panel/frontend/dist/assets/index-B7T9xvaW.css +1 -0
- hardpy/hardpy_panel/frontend/dist/assets/index-C93zcGIi.js +4672 -0
- hardpy/hardpy_panel/frontend/dist/assets/index-DLOviMB1.js +1 -0
- hardpy/hardpy_panel/frontend/dist/assets/{splitPathsBySizeLoader-DkZadBcn.js → splitPathsBySizeLoader-D4hRORV6.js} +1 -1
- hardpy/hardpy_panel/frontend/dist/index.html +2 -2
- hardpy/hardpy_panel/frontend/dist/locales/de/translation.json +9 -0
- hardpy/hardpy_panel/frontend/dist/locales/en/translation.json +9 -0
- hardpy/hardpy_panel/frontend/dist/locales/es/translation.json +9 -0
- hardpy/hardpy_panel/frontend/dist/locales/fr/translation.json +9 -0
- hardpy/hardpy_panel/frontend/dist/locales/ja/translation.json +9 -0
- hardpy/hardpy_panel/frontend/dist/locales/ru/translation.json +9 -0
- hardpy/hardpy_panel/frontend/dist/locales/zh/translation.json +9 -0
- hardpy/pytest_hardpy/db/__init__.py +12 -0
- hardpy/pytest_hardpy/db/base_store.py +25 -4
- hardpy/pytest_hardpy/db/runstore.py +1 -1
- hardpy/pytest_hardpy/db/schema/v1.py +8 -6
- hardpy/pytest_hardpy/db/statestore.py +1 -1
- hardpy/pytest_hardpy/plugin.py +30 -22
- hardpy/pytest_hardpy/pytest_call.py +12 -23
- hardpy/pytest_hardpy/pytest_wrapper.py +9 -7
- hardpy/pytest_hardpy/reporter/base.py +21 -1
- hardpy/pytest_hardpy/reporter/runner_reporter.py +1 -1
- hardpy/pytest_hardpy/result/report_loader/stand_cloud_loader.py +35 -4
- hardpy/pytest_hardpy/utils/__init__.py +0 -16
- {hardpy-0.15.2.dist-info → hardpy-0.16.0.dist-info}/METADATA +2 -2
- hardpy-0.16.0.dist-info/RECORD +83 -0
- hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-Btb8d-Hu.woff +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-DrH54W_x.woff2 +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-D9WO2FSG.woff2 +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-ZW-9JnPf.woff +0 -0
- hardpy/hardpy_panel/frontend/dist/assets/browser-ponyfill-CccdstaD.js +0 -2
- hardpy/hardpy_panel/frontend/dist/assets/index-6RIgWzcZ.js +0 -790
- hardpy/hardpy_panel/frontend/dist/assets/index-BMEat_ws.js +0 -1
- hardpy/hardpy_panel/frontend/dist/assets/index-BwCQzehg.css +0 -1
- hardpy/hardpy_panel/frontend/dist/assets/index-xb4M2ucX.js +0 -1
- hardpy/pytest_hardpy/db/base_connector.py +0 -31
- hardpy/pytest_hardpy/db/base_server.py +0 -14
- hardpy/pytest_hardpy/utils/connection_data.py +0 -13
- hardpy-0.15.2.dist-info/RECORD +0 -86
- /hardpy/pytest_hardpy/{utils → db}/stand_type.py +0 -0
- {hardpy-0.15.2.dist-info → hardpy-0.16.0.dist-info}/WHEEL +0 -0
- {hardpy-0.15.2.dist-info → hardpy-0.16.0.dist-info}/entry_points.txt +0 -0
- {hardpy-0.15.2.dist-info → hardpy-0.16.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -7,8 +7,8 @@ from typing import TYPE_CHECKING
|
|
|
7
7
|
from oauthlib.oauth2.rfc6749.errors import OAuth2Error
|
|
8
8
|
from requests.exceptions import HTTPError
|
|
9
9
|
|
|
10
|
+
from hardpy.common.config import ConfigManager
|
|
10
11
|
from hardpy.common.stand_cloud.connector import StandCloudConnector, StandCloudError
|
|
11
|
-
from hardpy.pytest_hardpy.utils import ConnectionData
|
|
12
12
|
|
|
13
13
|
if TYPE_CHECKING:
|
|
14
14
|
from requests import Response
|
|
@@ -28,8 +28,8 @@ class StandCloudLoader:
|
|
|
28
28
|
Can be used outside of HardPy applications.
|
|
29
29
|
"""
|
|
30
30
|
self._verify_ssl = not __debug__
|
|
31
|
-
|
|
32
|
-
sc_addr = address if address else
|
|
31
|
+
config_manager = ConfigManager()
|
|
32
|
+
sc_addr = address if address else config_manager.config.stand_cloud.address
|
|
33
33
|
self._sc_connector = StandCloudConnector(sc_addr)
|
|
34
34
|
|
|
35
35
|
def load(self, report: ResultRunStore, timeout: int = 20) -> Response:
|
|
@@ -47,11 +47,12 @@ class StandCloudLoader:
|
|
|
47
47
|
StandCloudError: if report not uploaded to StandCloud
|
|
48
48
|
"""
|
|
49
49
|
api = self._sc_connector.get_api("test_report")
|
|
50
|
+
sc_report = self._convert_to_sc_format(report)
|
|
50
51
|
|
|
51
52
|
try:
|
|
52
53
|
resp = api.post(
|
|
53
54
|
verify=self._verify_ssl,
|
|
54
|
-
json=
|
|
55
|
+
json=sc_report.model_dump(),
|
|
55
56
|
timeout=timeout,
|
|
56
57
|
)
|
|
57
58
|
except RuntimeError as exc:
|
|
@@ -73,3 +74,33 @@ class StandCloudLoader:
|
|
|
73
74
|
StandCloudError: if StandCloud is unavailable
|
|
74
75
|
"""
|
|
75
76
|
return self._sc_connector.healthcheck()
|
|
77
|
+
|
|
78
|
+
def _convert_to_sc_format(self, report: ResultRunStore) -> ResultRunStore:
|
|
79
|
+
"""Convert report to StandCloud format.
|
|
80
|
+
|
|
81
|
+
StandCloud expects parameters to be not empty.
|
|
82
|
+
If a parameter is None, it will be replaced with "unknown".
|
|
83
|
+
"""
|
|
84
|
+
unknown_param = "unknown"
|
|
85
|
+
# test stand name
|
|
86
|
+
if not report.test_stand.name:
|
|
87
|
+
report.test_stand.name = unknown_param
|
|
88
|
+
# DUT part number
|
|
89
|
+
if not report.dut.part_number:
|
|
90
|
+
report.dut.part_number = unknown_param
|
|
91
|
+
# DUT name
|
|
92
|
+
if not report.dut.name:
|
|
93
|
+
report.dut.name = report.dut.part_number
|
|
94
|
+
# sub unit part number and name
|
|
95
|
+
for sub_unit in report.dut.sub_units:
|
|
96
|
+
if not sub_unit.part_number:
|
|
97
|
+
sub_unit.part_number = unknown_param
|
|
98
|
+
if not sub_unit.name:
|
|
99
|
+
sub_unit.name = sub_unit.part_number
|
|
100
|
+
# instrument part number and name
|
|
101
|
+
for instrument in report.test_stand.instruments:
|
|
102
|
+
if not instrument.part_number:
|
|
103
|
+
instrument.part_number = unknown_param
|
|
104
|
+
if not instrument.name:
|
|
105
|
+
instrument.name = instrument.part_number
|
|
106
|
+
return report
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# Copyright (c) 2024 Everypin
|
|
2
2
|
# GNU General Public License v3.0 (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
3
3
|
|
|
4
|
-
from hardpy.pytest_hardpy.utils.connection_data import ConnectionData
|
|
5
4
|
from hardpy.pytest_hardpy.utils.const import (
|
|
6
5
|
ChartType,
|
|
7
6
|
ComparisonOperation,
|
|
@@ -30,40 +29,25 @@ from hardpy.pytest_hardpy.utils.exception import (
|
|
|
30
29
|
from hardpy.pytest_hardpy.utils.machineid import machine_id
|
|
31
30
|
from hardpy.pytest_hardpy.utils.node_info import NodeInfo
|
|
32
31
|
from hardpy.pytest_hardpy.utils.progress_calculator import ProgressCalculator
|
|
33
|
-
from hardpy.pytest_hardpy.utils.singleton import SingletonMeta
|
|
34
|
-
from hardpy.pytest_hardpy.utils.stand_type import (
|
|
35
|
-
Chart,
|
|
36
|
-
Instrument,
|
|
37
|
-
NumericMeasurement,
|
|
38
|
-
StringMeasurement,
|
|
39
|
-
SubUnit,
|
|
40
|
-
)
|
|
41
32
|
|
|
42
33
|
__all__ = [
|
|
43
34
|
"BaseWidget",
|
|
44
|
-
"Chart",
|
|
45
35
|
"ChartType",
|
|
46
36
|
"CheckboxWidget",
|
|
47
37
|
"ComparisonOperation",
|
|
48
|
-
"ConnectionData",
|
|
49
38
|
"DialogBox",
|
|
50
39
|
"DuplicateParameterError",
|
|
51
40
|
"Group",
|
|
52
41
|
"HTMLComponent",
|
|
53
42
|
"ImageComponent",
|
|
54
43
|
"ImageError",
|
|
55
|
-
"Instrument",
|
|
56
44
|
"MeasurementType",
|
|
57
45
|
"MultistepWidget",
|
|
58
46
|
"NodeInfo",
|
|
59
47
|
"NumericInputWidget",
|
|
60
|
-
"NumericMeasurement",
|
|
61
48
|
"ProgressCalculator",
|
|
62
49
|
"RadiobuttonWidget",
|
|
63
|
-
"SingletonMeta",
|
|
64
50
|
"StepWidget",
|
|
65
|
-
"StringMeasurement",
|
|
66
|
-
"SubUnit",
|
|
67
51
|
"TestStandNumberError",
|
|
68
52
|
"TestStatus",
|
|
69
53
|
"TextInputWidget",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hardpy
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.16.0
|
|
4
4
|
Summary: HardPy library for device testing
|
|
5
5
|
Project-URL: Homepage, https://github.com/everypinio/hardpy/
|
|
6
6
|
Project-URL: Documentation, https://everypinio.github.io/hardpy/
|
|
@@ -109,7 +109,7 @@ hardpy run
|
|
|
109
109
|
4. View operator panel in browser: http://localhost:8000/
|
|
110
110
|
5. View the latest test report: http://localhost:5984/_utils
|
|
111
111
|
|
|
112
|
-
Login and password: **dev**, database - **runstore
|
|
112
|
+
Login and password: **dev**, database - **runstore**.
|
|
113
113
|
|
|
114
114
|
## Examples
|
|
115
115
|
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
hardpy/__init__.py,sha256=ixZPH3wYlW3J9r8a06IjM1KcO2_L5wRjksLyLq3mdUM,2930
|
|
2
|
+
hardpy/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
hardpy/cli/cli.py,sha256=MmVup0jt_H0erPiqloPInbiZ9SjWHmJvqewHOtlqB10,9632
|
|
4
|
+
hardpy/cli/template.py,sha256=44phTqeKgFch5xdAJmDQ-za1mM1_z60izRVbmCQHU-8,6225
|
|
5
|
+
hardpy/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
hardpy/common/config.py,sha256=jH6DCymJP8L769oItIxyDFWEsM4UcJO9oj2Ilud0unc,5920
|
|
7
|
+
hardpy/common/singleton.py,sha256=RVMqbluN-mhlJ4QOYcRzQLA68Hs8t83XNyihyUwhYGo,948
|
|
8
|
+
hardpy/common/stand_cloud/__init__.py,sha256=fezdiYAehtT2H-GAef-xZU12CbmCRe64XHA9UB3kJDU,456
|
|
9
|
+
hardpy/common/stand_cloud/connector.py,sha256=scmKT09duPqqbQtwMNPnl59si_sErwqAY2PeiTSCZvg,7389
|
|
10
|
+
hardpy/common/stand_cloud/exception.py,sha256=eKkqu5ylDRIGN_yZhvz2xVGm49XmlZ8nryALgdRqpbY,287
|
|
11
|
+
hardpy/common/stand_cloud/oauth2.py,sha256=SDqtIwcuMgqfBkEZyo3GXeVPnvRBOr6dzeXowx3ZkEw,2803
|
|
12
|
+
hardpy/common/stand_cloud/registration.py,sha256=UW-JGcvON5CMQQ-s2Mb4Ee3u_jmdQfSj3vPfZ_FuhHY,2370
|
|
13
|
+
hardpy/common/stand_cloud/token_manager.py,sha256=8dX802F0CnOrOjOQInyYCrvuRdK0CeiCrTDITAbSLgQ,4055
|
|
14
|
+
hardpy/common/stand_cloud/utils.py,sha256=GN3wzbrmF-Xe5iUXf_HurGO-YKltqd3Gc_7vG2eEL7c,692
|
|
15
|
+
hardpy/hardpy_panel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
|
+
hardpy/hardpy_panel/api.py,sha256=UktVckBm6TLPEyv0LE7SfhZbkrORBQ_3U1_pCkW7A_c,4143
|
|
17
|
+
hardpy/hardpy_panel/frontend/dist/favicon.ico,sha256=sgIk5PKUKEKBDpkSrc8dJgjpObp0iF82Mec0GpfKId4,15406
|
|
18
|
+
hardpy/hardpy_panel/frontend/dist/index.html,sha256=7ZLtMuHXBZ7Bsj6o7zzAY6GHoBdyV8LY-TuK87r_Crg,1851
|
|
19
|
+
hardpy/hardpy_panel/frontend/dist/logo192.png,sha256=E4K7drvhJCg9HcTpRihOXZhVJVBZ7-W97Se-3tDb46o,14485
|
|
20
|
+
hardpy/hardpy_panel/frontend/dist/logo512.png,sha256=-fIMbqX7PYUpheK4kX1C1erRTe_hHZwFQYDLrAbhFRU,34188
|
|
21
|
+
hardpy/hardpy_panel/frontend/dist/manifest.json,sha256=PfmJlN2JMJtHS6OnhU4b4X5wPQC_yRBdjesjoirObSA,502
|
|
22
|
+
hardpy/hardpy_panel/frontend/dist/assets/allPaths-Cy69sdSD.js,sha256=FEp8quNu_DTynB5VsksdQmMfve--JJKImhZWbregU7c,309
|
|
23
|
+
hardpy/hardpy_panel/frontend/dist/assets/allPathsLoader-D993NqQ9.js,sha256=_x_kH4BXhKH1KYU_EDWJ3iB3edztReWwHiIH3gkNlIw,550
|
|
24
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-B2twAPZE.ttf,sha256=OcrUHPBAaLvJxb2DOethXFXg8PClDcyvpsh0mToLFPM,136248
|
|
25
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-C0Unyq1d.eot,sha256=Bl93LjY8pyBj0Iip1lUxMM-0l1zLrRjoGmKPPnAQIgw,136456
|
|
26
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-CVy9qFng.svg,sha256=57jlcc-NFRVJNJ3t-1fOnJvgdbYhcrF5a06LJLhWc5A,601027
|
|
27
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-Ck1ifK4A.woff,sha256=9W-hM1YPeHLTGLjDz7hd9mBs0nXNg99kjlXIRS7iZaE,61520
|
|
28
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-16-DwWyHYRo.woff2,sha256=3DtNkaNmO1RXcLJx-eja1bxqA3R7chUihisW0Z-kfu4,47912
|
|
29
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-9zitLjlL.woff2,sha256=4jgQ8HcAfHcmzwcanf_BPt1B3dTyZL20PyB2gz2l0LQ,49336
|
|
30
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-CjKGIKxE.woff,sha256=VD9bOsCtbHvvPSDgIZpPlMiCuoUWPXMJ411s9fY4CQ4,63676
|
|
31
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-DQ09GSQq.svg,sha256=3gLRYNxd_Y4iz6pspH4Bf7Ql4F6LH5haZzbTfxA53HQ,638634
|
|
32
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-DmR755bS.ttf,sha256=yr5g5Jw9ZnxJJ7e1quOv977VE3NU2GRB60BMRrOJrcI,139424
|
|
33
|
+
hardpy/hardpy_panel/frontend/dist/assets/blueprint-icons-20-p9MhBXD8.eot,sha256=CFx8t8ONhB4INIrK860N56_t1dmS7FuRF7i0HKKo58k,139632
|
|
34
|
+
hardpy/hardpy_panel/frontend/dist/assets/browser-ponyfill-DD76sq2d.js,sha256=XJLuZL7_C-fsVh6RW1V4T4Iuw4h8FEf9oXGeSBnv0iQ,10294
|
|
35
|
+
hardpy/hardpy_panel/frontend/dist/assets/index-B-fsa5Ru.js,sha256=IonL7d7ppdDr-_FRJZQPWI4HHFTiygYvZGVlUxHY9R8,294235
|
|
36
|
+
hardpy/hardpy_panel/frontend/dist/assets/index-B7T9xvaW.css,sha256=5m7QXWbthqi_Va8qlvnTZeuRzSN_ZJUdhyeb3JD6ZME,315862
|
|
37
|
+
hardpy/hardpy_panel/frontend/dist/assets/index-C93zcGIi.js,sha256=DJM3FiKJFlkDx7O5h_sHjbRfpzUAkWCBjl0demmuG-w,5941398
|
|
38
|
+
hardpy/hardpy_panel/frontend/dist/assets/index-DLOviMB1.js,sha256=sI0W1vvwqvIwKP2_jglrwOhej3n5rJD72-d4ZhlUHqM,285612
|
|
39
|
+
hardpy/hardpy_panel/frontend/dist/assets/logo_smol-CK3jE85c.png,sha256=E4K7drvhJCg9HcTpRihOXZhVJVBZ7-W97Se-3tDb46o,14485
|
|
40
|
+
hardpy/hardpy_panel/frontend/dist/assets/splitPathsBySizeLoader-D4hRORV6.js,sha256=CWcLJOePLuY_LmjQMWk25FkezmPJfVTDIto4-TCcljk,472
|
|
41
|
+
hardpy/hardpy_panel/frontend/dist/locales/de/translation.json,sha256=d3tFGkMVhYsj1izWVaPANoa14O1GYFdsBjPBBUAsSYY,2221
|
|
42
|
+
hardpy/hardpy_panel/frontend/dist/locales/en/translation.json,sha256=Ueezci2rpY0N0zajrJsRsKvX3gwat4Gky9Zu-w43ucU,2050
|
|
43
|
+
hardpy/hardpy_panel/frontend/dist/locales/es/translation.json,sha256=VSv144WTEAozU6q6gJw_bNpJEkiODBYrzPcsLYRAt2E,2288
|
|
44
|
+
hardpy/hardpy_panel/frontend/dist/locales/fr/translation.json,sha256=XQTvTbD0_yY9VXTOnieZfEo4Ux8zxkMwo1R2APpaYSc,2291
|
|
45
|
+
hardpy/hardpy_panel/frontend/dist/locales/ja/translation.json,sha256=u15ZbyZyuiB-lHXeyrWz8sEyn7TFoXMIX6o7RI9QFFM,2479
|
|
46
|
+
hardpy/hardpy_panel/frontend/dist/locales/ru/translation.json,sha256=SEp1HEGDebt9ezmh2pbnuZ8OS1INa7WhwmBssG81_wA,2950
|
|
47
|
+
hardpy/hardpy_panel/frontend/dist/locales/zh/translation.json,sha256=DvOjK_Rc0tesQ8-2-cz35tC6q8RLbGay062s26sAAkE,2028
|
|
48
|
+
hardpy/pytest_hardpy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
|
+
hardpy/pytest_hardpy/plugin.py,sha256=7UJRokXCjdCgC-QE0A-wvWA1ic254q7SGeZsX2gnWlA,21930
|
|
50
|
+
hardpy/pytest_hardpy/pytest_call.py,sha256=LH9VuCFD6211DdfA7RTZU0YmoaImPmZru1hD9OjPozo,21325
|
|
51
|
+
hardpy/pytest_hardpy/pytest_wrapper.py,sha256=j3zfSHgtx7V_LdUErGAjy0KZ14YYkXyYTwNO59NcIWI,4745
|
|
52
|
+
hardpy/pytest_hardpy/db/__init__.py,sha256=scaWueM5N_aMEuFCcMVkicpcqjx5JUi2IdEN9HmzuGs,792
|
|
53
|
+
hardpy/pytest_hardpy/db/base_store.py,sha256=6EKTo0xNFEjaJEWgbzkdBcCOCz5KtQGEzxSEUb7pvI0,5337
|
|
54
|
+
hardpy/pytest_hardpy/db/const.py,sha256=E_A0IKGeS3qyPX4fTfUE5ksARsrTKSVWqUkdmh8S_fo,1414
|
|
55
|
+
hardpy/pytest_hardpy/db/runstore.py,sha256=humoVBDZJGh7j_v5Xrf3P0HHaeRXC8oRdIj1QWGZizg,946
|
|
56
|
+
hardpy/pytest_hardpy/db/stand_type.py,sha256=p3AFtgMt-sn8QXRp60YM-xo2mEjZHUhYr_Mxhz1WyP0,7438
|
|
57
|
+
hardpy/pytest_hardpy/db/statestore.py,sha256=1s615c4OdzHd5u-464O-lcXoKulMfZ6moblhTWDHwSg,583
|
|
58
|
+
hardpy/pytest_hardpy/db/schema/__init__.py,sha256=1S73W3PLQt8gX5Y33nbX1JdwLvnrtlKH4cElID3pwuc,263
|
|
59
|
+
hardpy/pytest_hardpy/db/schema/v1.py,sha256=0RGZP-2lDeA3r8-simEEnjlHOAyziYSMXb9BINQyVbM,6377
|
|
60
|
+
hardpy/pytest_hardpy/reporter/__init__.py,sha256=rztpM2HlLUpMOvad0JHbZU4Mk8PDDQyCFXLhpLktGQI,322
|
|
61
|
+
hardpy/pytest_hardpy/reporter/base.py,sha256=Nz5cMTWfrVvn9sAQwRLAh_KXBP6zQoqEMpOkXCVpUCE,3494
|
|
62
|
+
hardpy/pytest_hardpy/reporter/hook_reporter.py,sha256=IAseKoQcZWlgS3NLYNnBOC5aGsJUgzyZLqljpd8Tfsg,15672
|
|
63
|
+
hardpy/pytest_hardpy/reporter/runner_reporter.py,sha256=d9hyThq0tywelPnIIHVED2SyztavE5LbgcBSejXfnhA,787
|
|
64
|
+
hardpy/pytest_hardpy/result/__init__.py,sha256=2afpuEuOcxYfIEOwWzsGZe960iQaPVCmsbYujijQg1s,592
|
|
65
|
+
hardpy/pytest_hardpy/result/couchdb_config.py,sha256=ujxyJYM2pdZzi3GZ2Zysbz2_ZeTRN5sQc8AGuzRJm_0,3243
|
|
66
|
+
hardpy/pytest_hardpy/result/report_loader/__init__.py,sha256=wq5Y-_JW2ExCRnQ9VVesKmTToEQrcTY5RxNJIWaT9ag,374
|
|
67
|
+
hardpy/pytest_hardpy/result/report_loader/couchdb_loader.py,sha256=KcZ0JkCgWhrj2J9M04JBDy0fpqtpVEYtu9GCLDG27pU,2255
|
|
68
|
+
hardpy/pytest_hardpy/result/report_loader/stand_cloud_loader.py,sha256=7iwk9E94jFkn_s0wRKjrRz0O00H4D4K75s6wZGlSoMI,3755
|
|
69
|
+
hardpy/pytest_hardpy/result/report_reader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
|
+
hardpy/pytest_hardpy/result/report_reader/couchdb_reader.py,sha256=lnWSX-0QKbdMwtqfCtW0tiH9W_ZEPqQ3rb7Lc8gES7E,5726
|
|
71
|
+
hardpy/pytest_hardpy/result/report_reader/stand_cloud_reader.py,sha256=uT7YSBu1QyURH9IkgRCdpbinn8LKXUhgVEhwPmGZV7I,3636
|
|
72
|
+
hardpy/pytest_hardpy/utils/__init__.py,sha256=zHln8ySBHesYAwYatLYkHol5TuuTTNOqrsMP7ONFEG0,1338
|
|
73
|
+
hardpy/pytest_hardpy/utils/const.py,sha256=xS3jBrW_D6IUTlAjSnLiHvSthieRHCj3uN_6fFAXS0w,1832
|
|
74
|
+
hardpy/pytest_hardpy/utils/dialog_box.py,sha256=LNukQ7ukUzLUFmwwH6L6M8wWmF-Mo4HF-UpVkyf8nY8,11224
|
|
75
|
+
hardpy/pytest_hardpy/utils/exception.py,sha256=1l2VBZLUnjPDoOs744MtaP7Y9FuXUq7koSdH2Eo31nk,1042
|
|
76
|
+
hardpy/pytest_hardpy/utils/machineid.py,sha256=6JAzUt7KtjTYn8kL9hSMaCQ20U8liH-zDT9v-5Ch7Q8,296
|
|
77
|
+
hardpy/pytest_hardpy/utils/node_info.py,sha256=DaW566WvsyWR66CThuZ38UoHwQa-pu-4WRLg61OXDnE,7134
|
|
78
|
+
hardpy/pytest_hardpy/utils/progress_calculator.py,sha256=TPl2gG0ZSvMe8otPythhF9hkD6fa6-mJAhy9yI83-yE,1071
|
|
79
|
+
hardpy-0.16.0.dist-info/METADATA,sha256=3cdAJ5My52yzeH5qjCPUdxPiK-YqrlyUSoQkcC2OHdg,4034
|
|
80
|
+
hardpy-0.16.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
81
|
+
hardpy-0.16.0.dist-info/entry_points.txt,sha256=nL2sMkKMScNaOE0IPkYnu9Yr-BUswZvGSrwY-SxHY3E,102
|
|
82
|
+
hardpy-0.16.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
83
|
+
hardpy-0.16.0.dist-info/RECORD,,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as G}from"./index-6RIgWzcZ.js";function $(w,c){for(var m=0;m<c.length;m++){const d=c[m];if(typeof d!="string"&&!Array.isArray(d)){for(const y in d)if(y!=="default"&&!(y in w)){const p=Object.getOwnPropertyDescriptor(d,y);p&&Object.defineProperty(w,y,p.get?p:{enumerable:!0,get:()=>d[y]})}}}return Object.freeze(Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}},U;function X(){return U||(U=1,function(w,c){var m={},d=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof m<"u"&&m,y=function(){function v(){this.fetch=!1,this.DOMException=d.DOMException}return v.prototype=d,new v}();(function(v){(function(u){var a=typeof v<"u"&&v||typeof self<"u"&&self||typeof a<"u"&&a,f={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};function S(e){return e&&DataView.prototype.isPrototypeOf(e)}if(f.arrayBuffer)var F=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],I=ArrayBuffer.isView||function(e){return e&&F.indexOf(Object.prototype.toString.call(e))>-1};function _(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function T(e){return typeof e!="string"&&(e=String(e)),e}function B(e){var t={next:function(){var r=e.shift();return{done:r===void 0,value:r}}};return f.iterable&&(t[Symbol.iterator]=function(){return t}),t}function s(e){this.map={},e instanceof s?e.forEach(function(t,r){this.append(r,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}s.prototype.append=function(e,t){e=_(e),t=T(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},s.prototype.delete=function(e){delete this.map[_(e)]},s.prototype.get=function(e){return e=_(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(_(e))},s.prototype.set=function(e,t){this.map[_(e)]=T(t)},s.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},s.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),B(e)},s.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),B(e)},s.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),B(e)},f.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);function O(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function D(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function M(e){var t=new FileReader,r=D(t);return t.readAsArrayBuffer(e),r}function q(e){var t=new FileReader,r=D(t);return t.readAsText(e),r}function H(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function x(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function R(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:f.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:f.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:f.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():f.arrayBuffer&&f.blob&&S(e)?(this._bodyArrayBuffer=x(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):f.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||I(e))?this._bodyArrayBuffer=x(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):f.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},f.blob&&(this.blob=function(){var e=O(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=O(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(M)}),this.text=function(){var e=O(this);if(e)return e;if(this._bodyBlob)return q(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(H(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},f.formData&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function C(e){var t=e.toUpperCase();return L.indexOf(t)>-1?t:e}function b(e,t){if(!(this instanceof b))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!r&&e._bodyInit!=null&&(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new s(t.headers)),this.method=C(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})};function k(e){var t=new FormData;return e.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(o))}}),t}function N(e){var t=new s,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
|
|
2
|
-
`)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),o=i.shift().trim();if(o){var g=i.join(":").trim();t.append(o,g)}}),t}R.call(b.prototype);function l(e,t){if(!(this instanceof l))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}R.call(l.prototype),l.prototype.clone=function(){return new l(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},l.error=function(){var e=new l(null,{status:0,statusText:""});return e.type="error",e};var V=[301,302,303,307,308];l.redirect=function(e,t){if(V.indexOf(t)===-1)throw new RangeError("Invalid status code");return new l(null,{status:t,headers:{location:e}})},u.DOMException=a.DOMException;try{new u.DOMException}catch{u.DOMException=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},u.DOMException.prototype=Object.create(Error.prototype),u.DOMException.prototype.constructor=u.DOMException}function P(e,t){return new Promise(function(r,n){var i=new b(e,t);if(i.signal&&i.signal.aborted)return n(new u.DOMException("Aborted","AbortError"));var o=new XMLHttpRequest;function g(){o.abort()}o.onload=function(){var h={status:o.status,statusText:o.statusText,headers:N(o.getAllResponseHeaders()||"")};h.url="responseURL"in o?o.responseURL:h.headers.get("X-Request-URL");var A="response"in o?o.response:o.responseText;setTimeout(function(){r(new l(A,h))},0)},o.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){n(new u.DOMException("Aborted","AbortError"))},0)};function z(h){try{return h===""&&a.location.href?a.location.href:h}catch{return h}}o.open(i.method,z(i.url),!0),i.credentials==="include"?o.withCredentials=!0:i.credentials==="omit"&&(o.withCredentials=!1),"responseType"in o&&(f.blob?o.responseType="blob":f.arrayBuffer&&i.headers.get("Content-Type")&&i.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(o.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof s)?Object.getOwnPropertyNames(t.headers).forEach(function(h){o.setRequestHeader(h,T(t.headers[h]))}):i.headers.forEach(function(h,A){o.setRequestHeader(A,h)}),i.signal&&(i.signal.addEventListener("abort",g),o.onreadystatechange=function(){o.readyState===4&&i.signal.removeEventListener("abort",g)}),o.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}return P.polyfill=!0,a.fetch||(a.fetch=P,a.Headers=s,a.Request=b,a.Response=l),u.Headers=s,u.Request=b,u.Response=l,u.fetch=P,u})({})})(y),y.fetch.ponyfill=!0,delete y.fetch.polyfill;var p=d.fetch?d:y;c=p.fetch,c.default=p.fetch,c.fetch=p.fetch,c.Headers=p.Headers,c.Request=p.Request,c.Response=p.Response,w.exports=c}(E,E.exports)),E.exports}var j=X();const J=G(j),Q=$({__proto__:null,default:J},[j]);export{Q as b};
|