* Use pre-release ver's for tests against deployment * Pre-release version number bumps * pin sra_client dev deps to prereleases for testing against deployed package * middlewares: incl doctest in tests of deployment * Unpin mesh, use new snapshot, & pay protocol fees * .gitignore gen'd wrappers for new contracts * test build_tx() & support for empty TxParams.from_ * fix doc: fill TAKERAssetAmount, not maker...
26 lines
614 B
INI
26 lines
614 B
INI
[tox]
|
|
envlist = py3
|
|
|
|
[testenv]
|
|
deps=-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-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]
|
|
setenv = PY_IGNORE_IMPORTMISMATCH = 1
|
|
commands =
|
|
pip install 0x-sra-client[dev]
|
|
pip install --pre 0x-sra-client
|
|
pytest --doctest-modules src test
|