Skip to content

Commit

Permalink
feat(sra_client.py): Test deployed pkg via tox
Browse files Browse the repository at this point in the history
  • Loading branch information
feuGeneA authored Dec 19, 2018
1 parent 97e2110 commit ace968a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions python-packages/sra_client/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ace968a

Please sign in to comment.