pytest-plugins 1.0.0__tar.gz → 1.0.2__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_plugins-1.0.0/pytest_plugins.egg-info → pytest_plugins-1.0.2}/PKG-INFO +1 -1
- pytest_plugins-1.0.2/pytest_plugins/__init__.py +6 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/add_config_parameters.py +2 -2
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/better_report.py +2 -2
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/fail2skip.py +2 -2
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/max_fail_streak.py +2 -2
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/utils/helper.py +4 -3
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/utils/pytest_helper.py +2 -1
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2/pytest_plugins.egg-info}/PKG-INFO +1 -1
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/setup.py +1 -1
- pytest_plugins-1.0.0/pytest_plugins/__init__.py +0 -5
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/LICENSE +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/MANIFEST.in +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/README.md +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pyproject.toml +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/models/__init__.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/models/base_class_test.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/models/environment_data.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/models/execution_data.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/models/status.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/models/test_data.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/utils/__init__.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/utils/create_report.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins/verbose_param_ids.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins.egg-info/SOURCES.txt +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins.egg-info/dependency_links.txt +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins.egg-info/entry_points.txt +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins.egg-info/requires.txt +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/pytest_plugins.egg-info/top_level.txt +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/requirements.txt +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/setup.cfg +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/tests/test_dummy.py +0 -0
- {pytest_plugins-1.0.0 → pytest_plugins-1.0.2}/tests/test_dummy_regular.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import logging
|
|
2
1
|
from pathlib import Path
|
|
3
2
|
|
|
4
3
|
import pytest
|
|
5
4
|
from _pytest.config import Parser, Config
|
|
6
5
|
from _pytest.python import Function
|
|
6
|
+
from custom_python_logger import get_logger
|
|
7
7
|
|
|
8
8
|
from pytest_plugins.utils.helper import open_json
|
|
9
9
|
|
|
10
|
-
logger =
|
|
10
|
+
logger = get_logger('pytest_plugins.add_parameters')
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
def pytest_addoption(parser: Parser) -> None:
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import json
|
|
2
|
-
import logging
|
|
3
2
|
import platform
|
|
4
3
|
import sys
|
|
5
4
|
import time
|
|
@@ -12,6 +11,7 @@ from _pytest.config import Config, Parser
|
|
|
12
11
|
from _pytest.fixtures import FixtureRequest
|
|
13
12
|
from _pytest.main import Session
|
|
14
13
|
from _pytest.python import Function
|
|
14
|
+
from custom_python_logger import get_logger
|
|
15
15
|
|
|
16
16
|
from pytest_plugins.models.environment_data import EnvironmentData
|
|
17
17
|
from pytest_plugins.utils.helper import save_as_json, serialize_data, save_as_markdown, get_project_root
|
|
@@ -27,7 +27,7 @@ from pytest_plugins.utils.create_report import generate_md_report
|
|
|
27
27
|
execution_results = {}
|
|
28
28
|
test_results = {}
|
|
29
29
|
|
|
30
|
-
logger =
|
|
30
|
+
logger = get_logger('pytest_plugins.better_report')
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
def pytest_addoption(parser: Parser) -> None:
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import logging
|
|
2
1
|
from typing import Any, Generator
|
|
3
2
|
|
|
4
3
|
import pytest
|
|
5
4
|
from _pytest.config import Config, Parser
|
|
6
5
|
from _pytest.python import Function
|
|
6
|
+
from custom_python_logger import get_logger
|
|
7
7
|
|
|
8
8
|
from pytest_plugins.better_report import test_results
|
|
9
9
|
from pytest_plugins.models import ExecutionStatus
|
|
10
10
|
from pytest_plugins.utils.pytest_helper import get_test_full_name
|
|
11
11
|
|
|
12
|
-
logger =
|
|
12
|
+
logger = get_logger("pytest_plugins.fail2skip")
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
def pytest_addoption(parser: Parser) -> None:
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import logging
|
|
2
1
|
import pytest
|
|
3
2
|
from _pytest.config import Config, Parser
|
|
4
3
|
from _pytest.python import Function
|
|
4
|
+
from custom_python_logger import get_logger
|
|
5
5
|
|
|
6
6
|
from pytest_plugins.better_report import test_results
|
|
7
7
|
from pytest_plugins.models import ExecutionStatus
|
|
8
8
|
from pytest_plugins.utils.pytest_helper import get_test_full_name
|
|
9
9
|
|
|
10
|
-
logger =
|
|
10
|
+
logger = get_logger('pytest_plugins.max_fail_streak')
|
|
11
11
|
global_interface = {}
|
|
12
12
|
|
|
13
13
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import json
|
|
2
|
-
import logging
|
|
3
2
|
from dataclasses import is_dataclass
|
|
4
3
|
from datetime import datetime, date, time
|
|
5
4
|
from decimal import Decimal
|
|
6
|
-
from enum import Enum
|
|
5
|
+
from enum import Enum
|
|
7
6
|
from pathlib import Path
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
from custom_python_logger import get_logger
|
|
9
|
+
|
|
10
|
+
logger = get_logger('pytest_plugins.utils')
|
|
10
11
|
|
|
11
12
|
def get_project_root(marker: str = ".git") -> Path | None:
|
|
12
13
|
path = Path(__file__).resolve()
|
|
@@ -2,10 +2,11 @@ import json
|
|
|
2
2
|
import logging
|
|
3
3
|
|
|
4
4
|
from _pytest.python import Function
|
|
5
|
+
from custom_python_logger import get_logger
|
|
5
6
|
|
|
6
7
|
from pytest_plugins.utils.helper import serialize_data
|
|
7
8
|
|
|
8
|
-
logger =
|
|
9
|
+
logger = get_logger(__name__)
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
def get_test_path_without_parameters(item: Function) -> str:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|