aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDanny Hermes <daniel.j.hermes@gmail.com>2015-04-13 10:06:18 -0700
committerDanny Hermes <daniel.j.hermes@gmail.com>2015-04-13 10:06:18 -0700
commit659869f19aec766f2b0187ecc95e414331892872 (patch)
treed41b038594803c3d17956d7548cb9939e0296837 /tox.ini
parent0a6241c792f0c833f2f176292b0c7ea5623eabfd (diff)
downloadoauth2client-659869f19aec766f2b0187ecc95e414331892872.tar.gz
Adding system tests to make sure token exchange works as expected.
- Updates CONTRIBUTING.md to explain how to set-up and run these tests. - Requires a version of httplib2 that has not been released on PyPI yet in order to work on Python 3. - Simply creates 3 different token types (JSON key for svc. acct., P12 key for svc. acct., JSON key for user acct.) and then authorizes an httplib2.Http object to hit the USERINFO API.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini18
1 files changed, 18 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 639b56b..578e3b5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -72,3 +72,21 @@ basepython = python2.7
deps = {[testenv]basedeps}
django>=1.5,<1.6
pyopenssl<0.14
+
+[testenv:system-tests]
+basepython =
+ python2.7
+commands =
+ {toxinidir}/scripts/run_system_tests.sh
+deps =
+ pycrypto==2.6
+ pyopenssl==0.14
+
+[testenv:system-tests3]
+basepython =
+ python3.4
+commands =
+ {toxinidir}/scripts/run_system_tests.sh
+deps =
+ pycrypto==2.6
+ pyopenssl==0.14