Update to IntelMQ 3.2

Move from nosetests to pytest. Move from hug to FastAPI
This commit is contained in:
Kamil Mankowski
2023-07-25 16:01:46 +02:00
parent 90e696543f
commit a597fec2a9
5 changed files with 11 additions and 6 deletions

View File

@@ -24,8 +24,8 @@ fi
if [[ $1 == "selftest" ]]
then
export INTELMQ_TEST_EXOTIC=1
nosetests3 /etc/intelmq/intelmq/tests
pytest-3 /etc/intelmq/intelmq/tests
else
cd /etc/intelmq-api && hug -m intelmq_api.serve -p8080
cd /etc/intelmq-api && uvicorn intelmq_api.main:app -p8080
fi