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
This commit is contained in:
Tim Burke
2022-07-26 15:07:35 -07:00
parent 745dfec35e
commit ef155bd74a
13 changed files with 27 additions and 49 deletions

View File

@@ -3,7 +3,7 @@
TOP_DIR=$(dirname $(realpath "$0"))
cd $TOP_DIR/test/unit
nosetests --exe --with-coverage --cover-package swift --cover-erase --cover-branches --cover-html --cover-html-dir="$TOP_DIR"/cover $@
pytest --cov-report=html:"$TOP_DIR"/cover $@
rvalue=$?
rm -f .coverage
cd -