mirror of https://github.com/CIRCL/AIL-framework
fix: [tests] replace unmaintened nose by nose2
parent
94d7eaf11d
commit
7a52aec884
|
@ -573,7 +573,7 @@ function update_thirdparty {
|
||||||
function launch_tests() {
|
function launch_tests() {
|
||||||
tests_dir=${AIL_HOME}/tests
|
tests_dir=${AIL_HOME}/tests
|
||||||
bin_dir=${AIL_BIN}
|
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() {
|
function reset_password() {
|
||||||
|
|
|
@ -31,9 +31,6 @@ sudo apt-get install libev-dev libgmp-dev -qq # TODO NEED REVIEW
|
||||||
#Need for generate-data-flow graph
|
#Need for generate-data-flow graph
|
||||||
sudo apt-get install graphviz -qq
|
sudo apt-get install graphviz -qq
|
||||||
|
|
||||||
# install nosetests
|
|
||||||
sudo apt-get install python3-nose -qq
|
|
||||||
|
|
||||||
# ssdeep
|
# ssdeep
|
||||||
sudo apt-get install libfuzzy-dev -qq
|
sudo apt-get install libfuzzy-dev -qq
|
||||||
sudo apt-get install build-essential libffi-dev autoconf -qq
|
sudo apt-get install build-essential libffi-dev autoconf -qq
|
||||||
|
|
|
@ -75,7 +75,7 @@ bcrypt>3.1.6
|
||||||
ail_typo_squatting
|
ail_typo_squatting
|
||||||
|
|
||||||
# Tests
|
# Tests
|
||||||
nose>=1.3.7
|
nose2>=0.12.0
|
||||||
coverage>=5.5
|
coverage>=5.5
|
||||||
|
|
||||||
# # # #
|
# # # #
|
||||||
|
|
Loading…
Reference in New Issue