mirror of
https://github.com/certat/intelmq-docker.git
synced 2025-12-06 01:02:52 +01:00
Update to IntelMQ 3.2
Move from nosetests to pytest. Move from hug to FastAPI
This commit is contained in:
@@ -14,7 +14,7 @@ intelmq-api-adduser --user "$intelmq_user" --password "$intelmq_pass"
|
||||
if [[ $1 == "selftest" ]]
|
||||
then
|
||||
export INTELMQ_TEST_EXOTIC=1
|
||||
nosetests3 /opt/intelmq/intelmq/tests
|
||||
pytest-3 /opt/intelmq/intelmq/tests
|
||||
else
|
||||
cd /opt/intelmq-api && uvicorn intelmq_api.main:app -p8080
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user