pytest-api-framework-alpha 0.3.7__tar.gz → 0.3.8__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.
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/PKG-INFO +1 -1
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/conftest.py +8 -8
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/pytest_api_framework_alpha.egg-info/PKG-INFO +1 -1
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/setup.py +1 -1
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/__init__.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/base_class.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/db/__init__.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/db/mysql_db.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/db/redis_db.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/exceptions.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/exit_code.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/extract.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/global_attribute.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/http_client.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/render_data.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/report.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/script.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/startapp.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/__init__.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/common.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/date_util.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/encrypt.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/lark_util.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/log_util.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/mock_util.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/yaml_util.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/validate.py +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/pytest_api_framework_alpha.egg-info/SOURCES.txt +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/pytest_api_framework_alpha.egg-info/dependency_links.txt +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/pytest_api_framework_alpha.egg-info/requires.txt +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/pytest_api_framework_alpha.egg-info/top_level.txt +0 -0
- {pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/setup.cfg +0 -0
|
@@ -20,6 +20,7 @@ import allure
|
|
|
20
20
|
import pytest
|
|
21
21
|
from box import Box
|
|
22
22
|
import simplejson as json
|
|
23
|
+
|
|
23
24
|
import config.settings as settings
|
|
24
25
|
from framework.exit_code import ExitCode
|
|
25
26
|
from framework.db.mysql_db import MysqlDB
|
|
@@ -522,14 +523,13 @@ def pytest_terminal_summary(terminalreporter, exitstatus, config):
|
|
|
522
523
|
terminalreporter.write(f"跳过用例数: {skipped}\n", yellow=True, bold=True)
|
|
523
524
|
terminalreporter.write(f"用例通过率: {pass_rate}%\n", green=True, bold=True)
|
|
524
525
|
terminalreporter.write("====================================\n", blue=True, bold=True)
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
"
|
|
531
|
-
|
|
532
|
-
# LarkUtil(settings.LARK_WEBHOOK).send_test_report(total=total, passed=passed, failed=failed, skipped=skipped)
|
|
526
|
+
LarkUtil(settings.LARK_WEBHOOK).send_test_report(
|
|
527
|
+
total=total,
|
|
528
|
+
passed=passed,
|
|
529
|
+
failed=failed,
|
|
530
|
+
skipped=skipped,
|
|
531
|
+
report_url=os.environ.get("ALLURE_REPORT_URL")
|
|
532
|
+
)
|
|
533
533
|
|
|
534
534
|
|
|
535
535
|
def pytest_exception_interact(node, call, report):
|
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/base_class.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/db/__init__.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/db/mysql_db.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/db/redis_db.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/exceptions.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/exit_code.py
RENAMED
|
File without changes
|
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/global_attribute.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/http_client.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/render_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/__init__.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/common.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/date_util.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/encrypt.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/lark_util.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/log_util.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/mock_util.py
RENAMED
|
File without changes
|
{pytest_api_framework_alpha-0.3.7 → pytest_api_framework_alpha-0.3.8}/framework/utils/yaml_util.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|