Skip to content
Snippets Groups Projects
Commit af7fa5d4 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Feature: Use nose2 instead of nose. (Redmine issue: #7587)

parent c70c81fb
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,9 @@ pip-delete-this-directory.txt
# Ignore compiled translations catalogs.
messages.mo
# Ignore test results.
nose2-junit.xml
# Ignore precompiled files for PLY.
parser.out
parsetab.py
......
......@@ -606,7 +606,7 @@ pylint: FORCE
test: FORCE
@echo "\n$(GREEN)*** Checking code with nosetests ***$(NC)\n"
@echo "Python version: `$(PYTHON) --version`"
APP_ROOT_PATH=$(shell realpath ./chroot) PYTHONPATH=$(DIR_LIB) $(NOSETESTS)
APP_ROOT_PATH=$(shell realpath ./chroot) PYTHONPATH=$(DIR_LIB) $(PYTHON) -W always::DeprecationWarning -m nose2
coverage: FORCE
@echo "\n$(GREEN)*** Checking test code coverage with nosetests and coverage ***$(NC)\n"
......
setuptools==46.1.3
wheel==0.34.2
nose==1.3.7
nose2==0.11.0
coverage==5.0.4
pyflakes==2.1.1
pylint==2.4.4
......
setuptools
wheel
nose
nose2
coverage
pyflakes
pylint
......
[unittest]
plugins = nose2.plugins.junitxml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment