Commit 313eeae2 authored by Matt Traudt's avatar Matt Traudt
Browse files

Sart an http server during integration tests

parent f55b84ac
......@@ -23,13 +23,16 @@ whitelist_externals =
tar
bash
sleep
cat
commands =
tar -C {envtmpdir} -vxf {toxinidir}/tests/integration/net.tar
bash {envtmpdir}/net/start.sh
bash -c "time python3 {envtmpdir}/net/wait.py {envtmpdir}/net/{auth,relay,exit}*"
bash -c "python3 {toxinidir}/scripts/tools/sbws-http-server.py --port 28888 > {envtmpdir}/http-server.log &"
sleep 30
coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/integration -vv
bash {envtmpdir}/net/stop.sh
cat {envtmpdir}/http-server.log
[testenv:lint]
skip_install = True
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment