From: Kenneth Reitz Date: Wed, 25 Jan 2012 14:03:20 +0000 (-0500) Subject: moar tests X-Git-Tag: v0.10.2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bbdbac17fc40cc193679e7e84cfd06c6ae7eb9d;p=services%2Fpython-requests.git moar tests --- diff --git a/Makefile b/Makefile index 8d5742e..dfbe8d3 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,17 @@ +SHELL := /bin/bash + init: python setup.py develop pip install -r requirements.txt test: - nosetests test_requests.py + nosetests --with-color + +server: + gunicorn httpbin:app --bind=0.0.0.0:7077 & ci: init - nosetests test_requests.py --with-xunit --xunit-file=junit-report.xml + nosetests --with-xunit --xunit-file=junit-report.xml stats: pyflakes requests | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' > violations.pyflakes.txt