diff options
author | Tim Burke <tim.burke@gmail.com> | 2022-07-26 15:07:35 -0700 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2022-12-09 11:38:02 -0800 |
commit | ef155bd74aaf4ffce11956b2e5bd921dfb5d8809 (patch) | |
tree | 62ff11db3b04201a831e20a94f31ac0ce578c8b4 /CONTRIBUTING.rst | |
parent | 745dfec35e50fb4e3fe5d16da431215bf88a835c (diff) | |
download | swift-ef155bd74aaf4ffce11956b2e5bd921dfb5d8809.tar.gz |
Switch to pytest
nose has not seen active development for many years now. With py310, we
can no longer use it due to import errors.
Also update lower contraints
Closes-Bug: #1993531
Change-Id: I215ba0d4654c9c637c3b97953d8659ac80892db8
Diffstat (limited to 'CONTRIBUTING.rst')
-rw-r--r-- | CONTRIBUTING.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 746e7bb74..8f5c70d29 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -145,11 +145,11 @@ Running the tests above against Swift in your development environment to be both tested and documented and all tests should pass. If you want to run just a subset of the tests while you are developing, -you can use nosetests: +you can use pytest: .. code-block:: console - cd test/unit/common/middleware/ && nosetests test_healthcheck.py + cd test/unit/common/middleware/ && pytest test_healthcheck.py To check which parts of your code are being exercised by a test, you can run tox and then point your browser to swift/cover/index.html: |