Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit94feb8a

Browse files
chore: create a 'tests/meta/' directory and put test_mro.py in it
The 'test_mro.py' file is not really a unit test but more of a 'meta'check on the validity of the code base.
1 parent06184da commit94feb8a

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

‎pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module = [
2727
"setup",
2828
"tests.functional.*",
2929
"tests.functional.api.*",
30+
"tests.meta.*",
3031
"tests.unit.*",
3132
"tests.smoke.*"
3233
]

‎tests/meta/__init__.py

Whitespace-only changes.
File renamed without changes.

‎tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ install_command = pip install {opts} {packages}
1313
deps = -r{toxinidir}/requirements.txt
1414
-r{toxinidir}/requirements-test.txt
1515
commands =
16-
pytest tests/unit {posargs}
16+
pytest tests/unittests/meta{posargs}
1717

1818
[testenv:pep8]
1919
basepython = python3
@@ -72,7 +72,7 @@ commands = python setup.py build_sphinx
7272
[testenv:cover]
7373
commands =
7474
pytest --cov --cov-report term --cov-report html \
75-
--cov-report xml tests/unit {posargs}
75+
--cov-report xml tests/unittests/meta{posargs}
7676

7777
[coverage:run]
7878
omit = *tests*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp