Commit 7913c956 authored by nimrod's avatar nimrod
Browse files

- Added Tox environment and a shell alias for running httpbin.

parent 2614c95d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 \

.tox.ini.httpbin

0 → 100644
+9 −0
Original line number Diff line number Diff line
[tox]
skipsdist = True

[testenv]
basepython = python3
deps =
    httpbin
    gunicorn
commands = gunicorn httpbin:app {posargs}