setup.py test -> pytest / tox

This commit is contained in:
tecnovert
2021-01-10 20:30:07 +02:00
parent bce20d1e59
commit a3ba5cf7e6
20 changed files with 332 additions and 227 deletions

23
tox.ini Normal file
View File

@@ -0,0 +1,23 @@
[tox]
envlist = py3
[testenv]
setenv =
COINCURVE_IGNORE_SYSTEM_LIB = 1
passenv =
PARTICL_BINDIR
BITCOIN_BINDIR
LITECOIN_BINDIR
XMR_BINDIR
deps =
pytest
-rrequirements.txt
git+https://github.com/tecnovert/coincurve.git@anonswap#egg=coincurve
commands =
pytest
[pytest]
addopts = -v -s
norecursedirs = tests/basicswap/extended
testpaths =
tests