aboutsummaryrefslogtreecommitdiffstats
path: root/python-packages/sra_client/tox.ini
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-22 06:57:16 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-22 06:57:16 +0800
commite144ebbb936c74b4af0e1c1776578208ea148de4 (patch)
treec5ab2823603b25d11d46493e9c8f79801bef0dcd /python-packages/sra_client/tox.ini
parentaa9aa1f58a4e63b5e5c7863f3b7afb020d7712c5 (diff)
parent9b540fd8e52e7578d3749e6d9ef9cd97d602ffb3 (diff)
downloaddexon-sol-tools-e144ebbb936c74b4af0e1c1776578208ea148de4.tar
dexon-sol-tools-e144ebbb936c74b4af0e1c1776578208ea148de4.tar.gz
dexon-sol-tools-e144ebbb936c74b4af0e1c1776578208ea148de4.tar.bz2
dexon-sol-tools-e144ebbb936c74b4af0e1c1776578208ea148de4.tar.lz
dexon-sol-tools-e144ebbb936c74b4af0e1c1776578208ea148de4.tar.xz
dexon-sol-tools-e144ebbb936c74b4af0e1c1776578208ea148de4.tar.zst
dexon-sol-tools-e144ebbb936c74b4af0e1c1776578208ea148de4.zip
Merge branch 'development' into feature/instant/tell-amount-available
Diffstat (limited to 'python-packages/sra_client/tox.ini')
-rw-r--r--python-packages/sra_client/tox.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/python-packages/sra_client/tox.ini b/python-packages/sra_client/tox.ini
index 3d0be613c..69d59f4ff 100644
--- a/python-packages/sra_client/tox.ini
+++ b/python-packages/sra_client/tox.ini
@@ -8,3 +8,17 @@ deps=-r{toxinidir}/requirements.txt
commands=
nosetests \
[]
+
+[testenv:run_tests_against_test_deployment]
+commands =
+ # install dependencies from real PyPI
+ pip install mypy_extensions pytest
+ # install package-under-test from test PyPI
+ pip install --index-url https://test.pypi.org/legacy/ 0x-sra-client
+ pytest test
+
+[testenv:run_tests_against_deployment]
+deps=pytest
+commands =
+ pip install 0x-sra-client
+ pytest test