Merge branch 'develop' into feature/async

This commit is contained in:
Kenneth Reitz
2011-10-13 20:33:55 -04:00
2 changed files with 17 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
init:
pip install -r reqs.txt
test:
nosetests test_requests.py --processes=30
ci: init
nosetests --search-test --processes=30 --with-nosexunit test_requests.py
pyflakes requests | awk -F\: '{printf "%s:%s: [E]%s\n", $1, $2, $3}' > violations.pyflakes.txt
site:
cd docs; make dirhtml
docs: site
+3 -1
View File
@@ -16,7 +16,7 @@ import requests
from requests.sessions import Session
HTTPBIN_URL = 'http://httpbin.org/'
HTTPBIN_URL = 'http://httpbin.ep.io/'
HTTPSBIN_URL = 'https://httpbin.ep.io/'
# HTTPBIN_URL = 'http://staging.httpbin.org/'
@@ -42,6 +42,8 @@ SERVICES = (httpbin, httpsbin)
class RequestsTestSuite(unittest.TestCase):
"""Requests test cases."""
# It goes to eleven.
_multiprocess_can_split_ = True
def setUp(self):
pass