diff --git a/.bashrc b/.bashrc index 4389688a37394c36a2d27c4ac21147b3541dd1df..e9e3e29dddb502eabe916d2e26d4e3d9acc2c422 100644 --- a/.bashrc +++ b/.bashrc @@ -73,6 +73,7 @@ alias apt-daily="sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade --downl alias docker-build='docker build -t "$(basename $PWD)" ./' alias cdtemp='cd $(mktemp -d)' alias 0-day-cleanup='ssh xbmc "sudo -u debian-transmission find /srv/library/Comics -name *.part -path *0-Day\ Week\ of* -delete"' +alias httpbin='tox -c $HOME/.tox.ini.httpbin --' deduce-aws-region () { export AWS_DEFAULT_REGION="$(curl --silent \ diff --git a/.tox.ini.httpbin b/.tox.ini.httpbin new file mode 100644 index 0000000000000000000000000000000000000000..f983e74c824a9f6d1ce21f8c712e4571c8f3804b --- /dev/null +++ b/.tox.ini.httpbin @@ -0,0 +1,9 @@ +[tox] +skipsdist = True + +[testenv] +basepython = python3 +deps = + httpbin + gunicorn +commands = gunicorn httpbin:app {posargs}