diff --git a/Dockerfile.test b/Dockerfile.test index 99c7d95d..2a9e55cc 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -14,11 +14,12 @@ RUN dnf -y install \ python3-magic \ python3-mako \ python3-mock \ - python3-nose \ python3-pocketlint \ python3-pycdlib \ python3-pylint \ python3-pyparted \ + python3-pytest \ + python3-pytest-cov \ python3-toml \ python3-semantic_version \ python3-sphinx \ diff --git a/Makefile b/Makefile index 971d966c..b286afb4 100644 --- a/Makefile +++ b/Makefile @@ -51,9 +51,8 @@ check: test: @echo "*** Running tests ***" - PYTHONPATH=$(PYTHONPATH):./src/ $(PYTHON) -m nose -v --with-coverage --cover-erase --cover-branches \ - --cover-package=pylorax --cover-package=lifted --cover-package=composer \ - --cover-inclusive \ + PYTHONPATH=$(PYTHONPATH):./src/ $(PYTHON) -m pytest -v --cov-branch \ + --cov=pylorax --cov=lifted --cov=composer \ ./tests/pylorax/ ./tests/composer/ ./tests/lifted/ coverage3 report -m