-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
Looks like pytest shows some warnings
Details
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-order-1.2.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pytest-order-1.2.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network'
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.3.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pytest-order-1.2.0
configfile: setup.cfg
testpaths: tests
plugins: order-1.2.0, mock-3.12.0, dependency-0.5.1, xdist-3.5.0
collected 130 items
tests/test_class_marks.py ......... [ 6%]
tests/test_dependency.py ...................... [ 23%]
tests/test_indulgent_ordering.py . [ 24%]
tests/test_marker_prefix.py ....... [ 30%]
tests/test_misc.py .... [ 33%]
tests/test_multiple_ordering.py .... [ 36%]
tests/test_order_group_scope.py ...... [ 40%]
tests/test_order_group_scope_dep.py .... [ 43%]
tests/test_order_group_scope_named_dep.py .... [ 46%]
tests/test_order_group_scope_relative.py ..... [ 50%]
tests/test_order_scope.py .... [ 53%]
tests/test_order_scope_level.py ..... [ 57%]
tests/test_ordering.py ................... [ 72%]
tests/test_relative_ordering.py ................... [ 86%]
tests/test_sparse_ordinals.py ................ [ 99%]
tests/test_xdist_handling.py . [100%]
===================================================================================== warnings summary ======================================================================================
tests/test_marker_prefix.py::test_no_ordering
/tmp/pytest-of-tkloczko/pytest-10/test_no_ordering0/test_no_ordering.py:3: PytestUnknownMarkWarning: Unknown pytest.mark.my3 - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.my3
tests/test_marker_prefix.py::test_no_ordering
/tmp/pytest-of-tkloczko/pytest-10/test_no_ordering0/test_no_ordering.py:7: PytestUnknownMarkWarning: Unknown pytest.mark.my1 - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.my1
tests/test_marker_prefix.py::test_no_ordering
/tmp/pytest-of-tkloczko/pytest-10/test_no_ordering0/test_no_ordering.py:11: PytestUnknownMarkWarning: Unknown pytest.mark.my2 - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.my2
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============================================================================= 130 passed, 3 warnings in 10.64s ==============================================================================Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels