Skip to content

1.33: pytest by default is not able to find any units #150

@kloczek

Description

@kloczek
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-json-patch-1.33-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-json-patch-1.33-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.17, pytest-7.4.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/python-json-patch-1.33
collected 0 items

=================================================================================== no tests ran in 0.01s ===================================================================================

However ..

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-json-patch-1.33-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-json-patch-1.33-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network' tests.py
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.17, pytest-7.4.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/python-json-patch-1.33
collected 110 items

tests.py ..............................................................................................................                                                               [100%]

==================================================================================== 110 passed in 0.17s ====================================================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions