hardpy 0.18.1__py3-none-any.whl → 0.18.2__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/common/stand_cloud/token_manager.py +2 -0
- hardpy/pytest_hardpy/plugin.py +3 -3
- hardpy/pytest_hardpy/pytest_wrapper.py +4 -4
- {hardpy-0.18.1.dist-info → hardpy-0.18.2.dist-info}/METADATA +1 -1
- {hardpy-0.18.1.dist-info → hardpy-0.18.2.dist-info}/RECORD +8 -8
- {hardpy-0.18.1.dist-info → hardpy-0.18.2.dist-info}/WHEEL +0 -0
- {hardpy-0.18.1.dist-info → hardpy-0.18.2.dist-info}/entry_points.txt +0 -0
- {hardpy-0.18.1.dist-info → hardpy-0.18.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -124,6 +124,8 @@ class TokenManager:
|
|
|
124
124
|
storage_keyring = load_keyring("keyring.backends.SecretService.Keyring")
|
|
125
125
|
elif system() == "Windows":
|
|
126
126
|
storage_keyring = load_keyring("keyring.backends.Windows.WinVaultKeyring")
|
|
127
|
+
elif system() == "Darwin":
|
|
128
|
+
storage_keyring = load_keyring("keyring.backends.macOS.KeyChain")
|
|
127
129
|
# TODO(xorialexandrov): add memory keyring or other store
|
|
128
130
|
mem_keyring = storage_keyring
|
|
129
131
|
|
hardpy/pytest_hardpy/plugin.py
CHANGED
|
@@ -140,10 +140,10 @@ class HardpyPlugin:
|
|
|
140
140
|
self._start_args = {}
|
|
141
141
|
self._sc_syncronizer = StandCloudSynchronizer()
|
|
142
142
|
|
|
143
|
-
if system() == "
|
|
144
|
-
signal.signal(signal.SIGTERM, self._stop_handler)
|
|
145
|
-
elif system() == "Windows":
|
|
143
|
+
if system() == "Windows":
|
|
146
144
|
signal.signal(signal.SIGBREAK, self._stop_handler) # type: ignore
|
|
145
|
+
else:
|
|
146
|
+
signal.signal(signal.SIGTERM, self._stop_handler)
|
|
147
147
|
self._log = getLogger(__name__)
|
|
148
148
|
|
|
149
149
|
# Initialization hooks
|
|
@@ -65,7 +65,7 @@ class PyTestWrapper:
|
|
|
65
65
|
cwd=self._config_manager.tests_path,
|
|
66
66
|
creationflags=subprocess.CREATE_NEW_PROCESS_GROUP,
|
|
67
67
|
)
|
|
68
|
-
|
|
68
|
+
else:
|
|
69
69
|
self._proc = subprocess.Popen( # noqa: S603
|
|
70
70
|
cmd,
|
|
71
71
|
cwd=self._config_manager.tests_path,
|
|
@@ -80,10 +80,10 @@ class PyTestWrapper:
|
|
|
80
80
|
bool: True if pytest was running and stopped
|
|
81
81
|
"""
|
|
82
82
|
if self.is_running() and self._proc:
|
|
83
|
-
if system() == "
|
|
84
|
-
self._proc.terminate()
|
|
85
|
-
elif system() == "Windows":
|
|
83
|
+
if system() == "Windows":
|
|
86
84
|
self._proc.send_signal(signal.CTRL_BREAK_EVENT) # type: ignore
|
|
85
|
+
else:
|
|
86
|
+
self._proc.terminate()
|
|
87
87
|
return True
|
|
88
88
|
return False
|
|
89
89
|
|
|
@@ -10,7 +10,7 @@ hardpy/common/stand_cloud/connector.py,sha256=PD1Gr1QOuFUmCsnlPY2zb_WF9Nrr8BGTlb
|
|
|
10
10
|
hardpy/common/stand_cloud/exception.py,sha256=zzFlW3Pg8ihG7t-Fb-KvfhDIE5l6oAg9Pdghse8Ib4U,191
|
|
11
11
|
hardpy/common/stand_cloud/oauth2.py,sha256=SDqtIwcuMgqfBkEZyo3GXeVPnvRBOr6dzeXowx3ZkEw,2803
|
|
12
12
|
hardpy/common/stand_cloud/registration.py,sha256=UW-JGcvON5CMQQ-s2Mb4Ee3u_jmdQfSj3vPfZ_FuhHY,2370
|
|
13
|
-
hardpy/common/stand_cloud/token_manager.py,sha256=
|
|
13
|
+
hardpy/common/stand_cloud/token_manager.py,sha256=oHLDip0a-0mmAiRQN5IuypTSNyOnSB43TSWlprOLRI0,4843
|
|
14
14
|
hardpy/common/stand_cloud/utils.py,sha256=GN3wzbrmF-Xe5iUXf_HurGO-YKltqd3Gc_7vG2eEL7c,692
|
|
15
15
|
hardpy/hardpy_panel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
hardpy/hardpy_panel/api.py,sha256=KNT4z5WNgpOjujAtBSmrPXsDmA5hUJKVeLZ6Ah9u_nk,8007
|
|
@@ -46,9 +46,9 @@ hardpy/hardpy_panel/frontend/dist/locales/ja/translation.json,sha256=kGBJmHlhndu
|
|
|
46
46
|
hardpy/hardpy_panel/frontend/dist/locales/ru/translation.json,sha256=81pqFajGhSwPwZV4j0HpziB1oX2iJ5Ud12cLiAaX8J0,3467
|
|
47
47
|
hardpy/hardpy_panel/frontend/dist/locales/zh/translation.json,sha256=9W61N2MA15J5Zj6UqBqPmUDZXaRAH2HWm9m51BgvzJw,2322
|
|
48
48
|
hardpy/pytest_hardpy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
|
-
hardpy/pytest_hardpy/plugin.py,sha256=
|
|
49
|
+
hardpy/pytest_hardpy/plugin.py,sha256=RqBZeIjdrV7szq0tShjqq6TkpWWBhzQN89KcCHSYhEo,23335
|
|
50
50
|
hardpy/pytest_hardpy/pytest_call.py,sha256=qUDrK1iUjhGEs4bmBFTk9E0YfFzsePoHhVDRY6ngRV8,22878
|
|
51
|
-
hardpy/pytest_hardpy/pytest_wrapper.py,sha256=
|
|
51
|
+
hardpy/pytest_hardpy/pytest_wrapper.py,sha256=U-tguwJsyW_lDAbFcEOgutc6G__PmWnhuHA6fCgePUc,4792
|
|
52
52
|
hardpy/pytest_hardpy/db/__init__.py,sha256=nat_tUO2cxPIp9e6U8Fvg6V4NcZ9TVg27u0GHoKelD4,865
|
|
53
53
|
hardpy/pytest_hardpy/db/base_store.py,sha256=d1lkTB7CpHTKysD2yuuGQFai44OtOmtTbq-WaBYojhw,5545
|
|
54
54
|
hardpy/pytest_hardpy/db/const.py,sha256=E_A0IKGeS3qyPX4fTfUE5ksARsrTKSVWqUkdmh8S_fo,1414
|
|
@@ -79,8 +79,8 @@ hardpy/pytest_hardpy/utils/exception.py,sha256=1l2VBZLUnjPDoOs744MtaP7Y9FuXUq7ko
|
|
|
79
79
|
hardpy/pytest_hardpy/utils/machineid.py,sha256=6JAzUt7KtjTYn8kL9hSMaCQ20U8liH-zDT9v-5Ch7Q8,296
|
|
80
80
|
hardpy/pytest_hardpy/utils/node_info.py,sha256=DaW566WvsyWR66CThuZ38UoHwQa-pu-4WRLg61OXDnE,7134
|
|
81
81
|
hardpy/pytest_hardpy/utils/progress_calculator.py,sha256=TPl2gG0ZSvMe8otPythhF9hkD6fa6-mJAhy9yI83-yE,1071
|
|
82
|
-
hardpy-0.18.
|
|
83
|
-
hardpy-0.18.
|
|
84
|
-
hardpy-0.18.
|
|
85
|
-
hardpy-0.18.
|
|
86
|
-
hardpy-0.18.
|
|
82
|
+
hardpy-0.18.2.dist-info/METADATA,sha256=rIRCy0Wuyu1GRnE9NMm7kQY3CZvef_hP6XInfN28Shk,4983
|
|
83
|
+
hardpy-0.18.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
84
|
+
hardpy-0.18.2.dist-info/entry_points.txt,sha256=nL2sMkKMScNaOE0IPkYnu9Yr-BUswZvGSrwY-SxHY3E,102
|
|
85
|
+
hardpy-0.18.2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
86
|
+
hardpy-0.18.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|