Switch to pytest as the test runner.
Review Request #12487 — Created July 25, 2022 and submitted
Information | |
---|---|
chipx86 | |
beanbag-docutils | |
master | |
Reviewers | |
beanbag-misc | |
This updates the codebase to use
pytest
instead ofnose
for running
unit tests. This helps us with testing on newer versions of Python, and
is consistent with our other codebases.The old
tests/runtests.py
script will now wrappytest
.
Ran unit tests on all supported versions of Python.
Change Summary:
Restored
runtests.py
, having it wrappytest
.
Description: |
|
|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Commits: |
|
|||||||||||||||
Diff: |
Revision 2 (+16 -56) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
Change Summary:
Actually added back
runtests.py
.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+22 -44) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.