pytest-api-framework-alpha 0.1.9__tar.gz → 0.2.0__tar.gz

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.
Files changed (29) hide show
  1. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/PKG-INFO +1 -1
  2. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/conftest.py +4 -2
  3. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/pytest_api_framework_alpha.egg-info/PKG-INFO +1 -1
  4. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/setup.py +1 -1
  5. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/__init__.py +0 -0
  6. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/allure_report.py +0 -0
  7. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/base_class.py +0 -0
  8. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/db/__init__.py +0 -0
  9. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/db/mysql_db.py +0 -0
  10. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/db/redis_db.py +0 -0
  11. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/exit_code.py +0 -0
  12. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/extract.py +0 -0
  13. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/global_attribute.py +0 -0
  14. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/http_client.py +0 -0
  15. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/render_data.py +0 -0
  16. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/report.py +0 -0
  17. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/startapp.py +0 -0
  18. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/utils/__init__.py +0 -0
  19. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/utils/common.py +0 -0
  20. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/utils/encrypt.py +0 -0
  21. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/utils/log_util.py +0 -0
  22. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/utils/teams_util.py +0 -0
  23. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/utils/yaml_util.py +0 -0
  24. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/framework/validate.py +0 -0
  25. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/pytest_api_framework_alpha.egg-info/SOURCES.txt +0 -0
  26. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/pytest_api_framework_alpha.egg-info/dependency_links.txt +0 -0
  27. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/pytest_api_framework_alpha.egg-info/requires.txt +0 -0
  28. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/pytest_api_framework_alpha.egg-info/top_level.txt +0 -0
  29. {pytest_api_framework_alpha-0.1.9 → pytest_api_framework_alpha-0.2.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-api-framework-alpha
3
- Version: 0.1.9
3
+ Version: 0.2.0
4
4
  Author: alpha
5
5
  Author-email:
6
6
  Requires-Python: >=3.6
@@ -396,8 +396,10 @@ def pytest_runtest_call(item):
396
396
  1) == current_turn.group(1): # 确保是同一个类
397
397
  status = getattr(prev_item, "status", None) # 访问 status 属性
398
398
  skip_reason = getattr(prev_item, "skip_reason", None) # 访问 skip_reason 属性
399
- if status == "skipped" and skip_reason.strip() in ["the previous method execution skipped",
400
- "the previous method execution failed"]:
399
+ if status == "skipped" and skip_reason.strip() in [
400
+ "the previous method execution skipped",
401
+ "the previous method execution failed",
402
+ "test_before_scenario execute error"]:
401
403
  pytest.skip("the previous method execution skipped")
402
404
  elif status == "failed":
403
405
  pytest.skip("the previous method execution failed")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-api-framework-alpha
3
- Version: 0.1.9
3
+ Version: 0.2.0
4
4
  Author: alpha
5
5
  Author-email:
6
6
  Requires-Python: >=3.6
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="pytest-api-framework-alpha", # 包名(必须唯一)
5
- version="0.1.9",
5
+ version="0.2.0",
6
6
  packages=find_packages(),
7
7
  author="alpha",
8
8
  author_email="",