Use nosetests3

Signed-off-by: Sebastian Waldbauer <waldbauer@cert.at>
This commit is contained in:
Sebastian Waldbauer
2020-11-03 15:28:52 +01:00
parent de9012c694
commit 32c29da927

View File

@@ -1,8 +1,7 @@
#!/bin/sh
set -e
if ["$1" = 'selftest']; then
python3 /opt/intelmq/setup.py test
#!/bin/bash
if [ $1 == 'selftest' ]
then
cd /opt/intelmq && nosetests3
else
hug -f /opt/intelmq-manager/intelmq_manager/serve.py -p8080
fi