-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Switch tests to use pytest #2002
Comments
According to your error log I think you may need to install pandoc ( Then, try to install pandoc first. In windows : In linux: |
And here could be some "issue" .. |
For the moment, does my command fix your issue on your computer? |
Nope
That module is not maintained since 2017 https://github.com/staticshock/colored-traceback.py/ |
If you want to test pwntools, see TESTING.md or .github/workflows/ci.yml. A part of the test suite requires setting up an SSH server anyway, many depend on external network services, and |
As I wrote: soon pytest allows you to start services as part of the test suite (for example ssh server on high port) and kill it at the end of the testing procedure. |
You still miss my point: our test entry point is |
Upu can put that as part of the test suite in pytest.ini.
There are tons of pytest extensions which may alter testing that way. This is why [tkloczko@devel-g2v SPECS]$ grep ^%pytest python-* | wc -l; ls -1 python-* | wc -l
802
904 Rest of those 102 packages are not using on build procedures pytest because they don't have any test suite. Handfull are still using Really I would encorage you to have closer look on pytest because it will be one of the best investment if you are python code developer. |
Looks like
pytest
is not able to find any units:As well
setuptools
based test suite i sfailingThe text was updated successfully, but these errors were encountered: