forked from ScoDoc/ScoDoc
Fix: tests unitaires test_but_jury.py. + check in package building script.
This commit is contained in:
parent
1cfcb831ca
commit
9511e3c2c3
@ -73,14 +73,13 @@ SCODOC_USER=scodoc
|
||||
[ -z "$FACTORY_DIR" ] && die "empty FACTORY_DIR"
|
||||
[ "$(id -nu)" != "$SCODOC_USER" ] && die "Erreur: le script $0 doit être lancé par l'utilisateur $SCODOC_USER"
|
||||
|
||||
if [ "$SKIP_TESTS" = 1 ]
|
||||
then
|
||||
echo "SKIPPING UNIT TESTS !"
|
||||
else
|
||||
# Tests unitaires lancés dans le répertoire de travail
|
||||
echo "TESTS UNITAIRES"
|
||||
(cd "$UNIT_TESTS_DIR"; pytest tests/unit) || terminate "Erreur dans tests unitaires"
|
||||
|
||||
# Tests API
|
||||
(cd "$UNIT_TESTS_DIR"; tools/test_api.sh) || terminate "Erreur dans tests unitaires API"
|
||||
|
||||
# Tests API
|
||||
(cd "$UNIT_TESTS_DIR"; tools/test_api.sh) || terminate "Erreur dans tests unitaires API"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user