pytest-platform-adapter 1.2.0__py3-none-any.whl → 1.2.1__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.
@@ -380,6 +380,9 @@ def pytest_configure(config):
380
380
  '--scan'), config.getini('platform_ip'), config.getini('platform_port'), config.getini(
381
381
  'platform_path'), config.getini('platform_use_https')
382
382
  settings = build_env_check_settings(config)
383
+ if config.getoption('--scan'):
384
+ # 扫描模式下禁用环境检查,避免强制收集影响正常用例收集。
385
+ settings.mode = 'off'
383
386
  config.stash[ENV_SETTINGS_KEY] = settings
384
387
  config.stash[ENV_RUNTIME_KEY] = EnvCheckRuntime()
385
388
  # 在强制模式下,将声明的环境检查 NodeID 注入到 pytest 收集参数中,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest_platform_adapter
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Pytest集成自动化平台插件
5
5
  Author-email: BlackYau <blackyau426@gmail.com>
6
6
  Maintainer-email: BlackYau <blackyau426@gmail.com>
@@ -22,6 +22,7 @@ Classifier: Programming Language :: Python :: 3.8
22
22
  Classifier: Programming Language :: Python :: 3.9
23
23
  Classifier: Programming Language :: Python :: 3.10
24
24
  Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
25
26
  Classifier: Topic :: Software Development
26
27
  Classifier: Topic :: Software Development :: Testing
27
28
  Classifier: Topic :: Software Development :: Testing :: Acceptance
@@ -0,0 +1,8 @@
1
+ pytest_platform_adapter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ pytest_platform_adapter/plugin.py,sha256=GBZSJZEa6KZD2zTjN4qbtgkxLUX0js7q9QRjldRf1Qk,26791
3
+ pytest_platform_adapter-1.2.1.dist-info/licenses/LICENSE,sha256=QOkNlcvUHENY86LE8OEpmtwMM24v76pgF4FmkEk8aXI,1064
4
+ pytest_platform_adapter-1.2.1.dist-info/METADATA,sha256=Wh81pUMUEjEkecFrtyBlk6SwOAOpX5_xfDixeNeq-4A,11480
5
+ pytest_platform_adapter-1.2.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
6
+ pytest_platform_adapter-1.2.1.dist-info/entry_points.txt,sha256=VorMHllVSkGNUUsVJOCrDMeW0-oLco5XcrmdfxND48c,61
7
+ pytest_platform_adapter-1.2.1.dist-info/top_level.txt,sha256=OnTaKf7GCc7yqBHQ4H2XLK8PAz7oHslUZKEsd1t5BpA,24
8
+ pytest_platform_adapter-1.2.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- pytest_platform_adapter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- pytest_platform_adapter/plugin.py,sha256=QvKwWrlxDuZ8GMNjZ-bHP4FIEFO5kd86U4e0OBPoRRw,26634
3
- pytest_platform_adapter-1.2.0.dist-info/licenses/LICENSE,sha256=QOkNlcvUHENY86LE8OEpmtwMM24v76pgF4FmkEk8aXI,1064
4
- pytest_platform_adapter-1.2.0.dist-info/METADATA,sha256=d7lMZYTmi9Zp1x5KgsbTubTfmBFE7VCYSShJkpRuCvg,11429
5
- pytest_platform_adapter-1.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- pytest_platform_adapter-1.2.0.dist-info/entry_points.txt,sha256=VorMHllVSkGNUUsVJOCrDMeW0-oLco5XcrmdfxND48c,61
7
- pytest_platform_adapter-1.2.0.dist-info/top_level.txt,sha256=OnTaKf7GCc7yqBHQ4H2XLK8PAz7oHslUZKEsd1t5BpA,24
8
- pytest_platform_adapter-1.2.0.dist-info/RECORD,,