File tree Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ uninstall:
3636test :
3737 # Unit tests with coverage report
3838 coverage erase
39- coverage run -m pytest -c tests/.configs/pytest.ini
39+ coverage run -m pytest
4040 coverage report
4141 coverage html
4242
Original file line number Diff line number Diff line change @@ -99,3 +99,17 @@ ignore = ["tests"]
9999[tool .pylint .design ]
100100min-public-methods = 0
101101max-public-methods = 30
102+
103+ [tool .pytest .ini_options ]
104+ testpaths = [" tests/unit/" ]
105+ asyncio_mode = " auto"
106+ markers = [
107+ " pydantic: Tests with Pydantic as a dependency" ,
108+ ]
109+ filterwarnings = [
110+ " ignore:Module \" dependency_injector.ext.aiohttp\" is deprecated since version 4\\ .0\\ .0:DeprecationWarning" ,
111+ " ignore:Module \" dependency_injector.ext.flask\" is deprecated since version 4\\ .0\\ .0:DeprecationWarning" ,
112+ " ignore:Please use \\ `.*?\\ ` from the \\ `scipy.*?\\ `(.*?)namespace is deprecated\\ .:DeprecationWarning" ,
113+ " ignore:Please import \\ `.*?\\ ` from the \\ `scipy(.*?)\\ ` namespace(.*):DeprecationWarning" ,
114+ " ignore:\\ `scipy(.*?)\\ ` is deprecated(.*):DeprecationWarning" ,
115+ ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1919 werkzeug
2020extras =
2121 yaml
22- commands = pytest -c tests/.configs/pytest.ini
22+ commands = pytest
2323python_files = test_*_py3*.py
2424setenv =
2525 COVERAGE_RCFILE = pyproject.toml
4545 boto3
4646 mypy_boto3_s3
4747 werkzeug
48- commands = pytest -c tests/.configs/pytest.ini - m pydantic
48+ commands = pytest -m pydantic
4949
5050[testenv:coveralls]
5151passenv = GITHUB_*, COVERALLS_*, DEPENDENCY_INJECTOR_*
5757 coveralls>=4
5858commands =
5959 coverage erase
60- coverage run -m pytest -c tests/.configs/pytest.ini
60+ coverage run -m pytest
6161 coverage report
6262 coveralls
6363
7474 mypy_boto3_s3
7575extras =
7676 yaml
77- commands = pytest -c tests/.configs/pytest-py35.ini
77+ commands = pytest
7878
7979
8080[testenv:pylint]
You can’t perform that action at this time.
0 commit comments