let's see if this works

This commit is contained in:
2017-01-21 19:45:41 -05:00
parent 4c53915a21
commit c00783cd86
5 changed files with 61 additions and 39 deletions
+4 -3
View File
@@ -1,15 +1,16 @@
.PHONY: docs
init:
pip install -r requirements.txt
pip install pipenv>=0.1.6
pipenv install --dev
test:
# This runs all of the tests. To run an individual test, run py.test with
# the -k flag, like "py.test -k test_path_is_not_double_encoded"
py.test tests
pipenv run py.test tests
coverage:
py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests
pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests
certs:
curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem
+12
View File
@@ -0,0 +1,12 @@
[[source]]
url = "https://pypi.org/"
verify_ssl = true
[dev-packages]
sphinx = "*"
pytest-mock = "*"
pytest-cov = "*"
pytest = "*"
codecov = "*"
pytest-httpbin = "*"
PySocks = "*"
Generated
+45
View File
@@ -0,0 +1,45 @@
{
"default": {},
"develop": {
"Werkzeug": "==0.11.15",
"six": "==1.10.0",
"httpbin": "==0.5.0",
"codecov": "==2.0.5",
"Flask": "==0.12",
"Babel": "==2.3.4",
"alabaster": "==0.7.9",
"pytest-mock": "==1.5.0",
"MarkupSafe": "==0.23",
"pytz": "==2016.10",
"coverage": "==4.3.4",
"pytest-httpbin": "==0.2.3",
"funcsigs": "==1.0.2",
"click": "==6.7",
"decorator": "==4.0.11",
"imagesize": "==0.7.1",
"Pygments": "==2.1.3",
"sphinx": "*",
"pbr": "==1.10.0",
"snowballstemmer": "==1.2.1",
"py": "==1.4.32",
"pytest-cov": "==2.4.0",
"docutils": "==0.13.1",
"pytest": "==3.0.5",
"Jinja2": "==2.9.4",
"Sphinx": "==1.5.1",
"requests": "==2.12.5",
"itsdangerous": "==0.24",
"PySocks": "==1.6.5",
"mock": "==2.0.0"
},
"_meta": {
"sources": [
{
"url": "https://pypi.org/",
"verify_ssl": true
}
],
"requires": {},
"Pipfile-sha256": "f306fe105cc76e259ab1e5d2933ad2d0fe7a8b2d28686f64f7a94f767c0ce5d4"
}
}
-7
View File
@@ -1,7 +0,0 @@
pytest
pytest-cov
pytest-httpbin
pytest-mock
PySocks
sphinx
codecov
-29
View File
@@ -1,29 +0,0 @@
alabaster==0.7.9
Babel==2.3.4
click==6.7
codecov==2.0.5
coverage==4.3.4
decorator==4.0.11
docutils==0.13.1
Flask==0.12
funcsigs==1.0.2
httpbin==0.5.0
imagesize==0.7.1
itsdangerous==0.24
Jinja2==2.9.4
MarkupSafe==0.23
mock==2.0.0
pbr==1.10.0
py==1.4.32
Pygments==2.1.3
PySocks==1.6.5
pytest==3.0.5
pytest-cov==2.4.0
pytest-httpbin==0.2.3
pytest-mock==1.5.0
pytz==2016.10
requests==2.12.4
six==1.10.0
snowballstemmer==1.2.1
Sphinx==1.5.1
Werkzeug==0.11.15