diff options
author | F. Eugene Aumson <feuGeneA@users.noreply.github.com> | 2018-12-20 07:18:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 07:18:44 +0800 |
commit | ace968a4fc5281d6688ac6de931a46728455c693 (patch) | |
tree | 4f4ca19509344b51b4ea80174e21a74267f5f6c8 | |
parent | 97e21106e5a96809e6298999b93833c4645dffba (diff) | |
download | dexon-0x-contracts-ace968a4fc5281d6688ac6de931a46728455c693.tar.gz dexon-0x-contracts-ace968a4fc5281d6688ac6de931a46728455c693.tar.zst dexon-0x-contracts-ace968a4fc5281d6688ac6de931a46728455c693.zip |
feat(sra_client.py): Test deployed pkg via tox
-rw-r--r-- | python-packages/sra_client/tox.ini | 14 |
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 |