← Back to team overview

lazr-users team mailing list archive

nose is deprecated

 

Hello,

nose is not maintained anymore, thus I think we should move away, for
example to pytest. It is enough:

$ cat << EOF > pytest.ini
[pytest]
addopts = --doctest-glob='*.rst'
doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE
testpaths = src/lazr
EOF
$ export PYTHONPATH=src
$ # test_not_stackable fails otherwise (with nose it did not run at all)
$ # needs to be investigated more
$ sed -i 's:verifyObject, IStackableConfig, config.extends::' src/lazr/config/tests/test_config.py
$ pytest

Petr

-- 
Have a lot of fun!