mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
fix: [tests] replace unmaintened nose by nose2
This commit is contained in:
parent
94d7eaf11d
commit
7a52aec884
4 changed files with 2 additions and 5 deletions
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -75,7 +75,7 @@ bcrypt>3.1.6
|
|||
ail_typo_squatting
|
||||
|
||||
# Tests
|
||||
nose>=1.3.7
|
||||
nose2>=0.12.0
|
||||
coverage>=5.5
|
||||
|
||||
# # # #
|
||||
|
|
Loading…
Reference in a new issue