-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.8.3: pytest is failing #34
Comments
The magics of pytest and executing interfere with each other, so
|
It would be really good to adapt test suite to be able use it with pytest as it provides far greater flexibility of altering testing procedure without touching tested code by just install pytest extension. |
I'm saying that executing itself doesn't work properly in lines like |
Just tested 1.1.1 and now all looks good. + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-executing-1.1.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-executing-1.1.1-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.14, pytest-7.1.3, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/executing-1.1.1
collected 58 items
tests/test_main.py ................................sssssssssssssss. [ 82%]
tests/test_pytest.py .......... [100%]
========================================================================= short test summary info ==========================================================================
SKIPPED [14] tests/test_main.py:679: These tests are very slow, enable them explicitly
SKIPPED [1] tests/test_main.py:695: These tests are very slow, enable them explicitly
===================================================================== 43 passed, 15 skipped in 12.49s ====================================================================== |
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modulesHere is pytest output:
The text was updated successfully, but these errors were encountered: