fix: [tests] replace unmaintened nose by nose2

This commit is contained in:
Terrtia 2023-05-23 14:47:02 +02:00
parent 94d7eaf11d
commit 7a52aec884
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
4 changed files with 2 additions and 5 deletions

View file

@ -573,7 +573,7 @@ function update_thirdparty {
function launch_tests() {
tests_dir=${AIL_HOME}/tests
bin_dir=${AIL_BIN}
python3 `which nosetests` -w $tests_dir --with-coverage --cover-package=$bin_dir -d --cover-erase --exclude=test-zmq.py
python3 -m nose2 --start-dir $tests_dir --coverage $bin_dir --with-coverage testApi test_modules
}
function reset_password() {

View file

@ -31,9 +31,6 @@ sudo apt-get install libev-dev libgmp-dev -qq # TODO NEED REVIEW
#Need for generate-data-flow graph
sudo apt-get install graphviz -qq
# install nosetests
sudo apt-get install python3-nose -qq
# ssdeep
sudo apt-get install libfuzzy-dev -qq
sudo apt-get install build-essential libffi-dev autoconf -qq

View file

@ -75,7 +75,7 @@ bcrypt>3.1.6
ail_typo_squatting
# Tests
nose>=1.3.7
nose2>=0.12.0
coverage>=5.5
# # # #