Commit 5d27288a authored by Matt Traudt's avatar Matt Traudt
Browse files

Test requesting something from http server on Travis

parent 60ef71bc
...@@ -23,16 +23,16 @@ whitelist_externals = ...@@ -23,16 +23,16 @@ whitelist_externals =
tar tar
bash bash
sleep sleep
cat wget
commands = commands =
tar -C {envtmpdir} -vxf {toxinidir}/tests/integration/net.tar tar -C {envtmpdir} -vxf {toxinidir}/tests/integration/net.tar
bash {envtmpdir}/net/ bash {envtmpdir}/net/
bash -c "time python3 {envtmpdir}/net/ {envtmpdir}/net/{auth,relay,exit}*" bash -c "time python3 {envtmpdir}/net/ {envtmpdir}/net/{auth,relay,exit}*"
bash -c "python3 {toxinidir}/scripts/tools/ --port 28888 > {toxinidir}/http-server.log &" bash -c "python3 {toxinidir}/scripts/tools/ --port 28888 &"
sleep 30 sleep 30
wget -O/dev/null
coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/integration -vv coverage run -a --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -s {toxinidir}/tests/integration -vv
bash {envtmpdir}/net/ bash {envtmpdir}/net/
cat {toxinidir}/http-server.log
[testenv:lint] [testenv:lint]
skip_install = True 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