From ace968a4fc5281d6688ac6de931a46728455c693 Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Wed, 19 Dec 2018 18:18:44 -0500 Subject: feat(sra_client.py): Test deployed pkg via tox --- python-packages/sra_client/tox.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- cgit v1.2.3