Skip to content

Commit

Permalink
chore: create a 'tests/meta/' directory and put test_mro.py in it
Browse files Browse the repository at this point in the history
The 'test_mro.py' file is not really a unit test but more of a 'meta'
check on the validity of the code base.
  • Loading branch information
JohnVillalovos committed Nov 15, 2021
1 parent 06184da commit 94feb8a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -27,6 +27,7 @@ module = [
"setup",
"tests.functional.*",
"tests.functional.api.*",
"tests.meta.*",
"tests.unit.*",
"tests.smoke.*"
]
Expand Down
Empty file added tests/meta/__init__.py
Empty file.
File renamed without changes.
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -13,7 +13,7 @@ install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-test.txt
commands =
pytest tests/unit {posargs}
pytest tests/unit tests/meta {posargs}

[testenv:pep8]
basepython = python3
Expand Down Expand Up @@ -72,7 +72,7 @@ commands = python setup.py build_sphinx
[testenv:cover]
commands =
pytest --cov --cov-report term --cov-report html \
--cov-report xml tests/unit {posargs}
--cov-report xml tests/unit tests/meta {posargs}

[coverage:run]
omit = *tests*
Expand Down

0 comments on commit 94feb8a

Please sign in to comment.