summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2020-09-01 09:21:07 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2020-09-01 09:21:07 (GMT)
commitb7f6718b7e85b8125400e98807d3f356fac4a6b6 (patch)
tree0bd280dd6f2048a6dae3733bfe917c03b5447925
parent736b20e162344791f9c5240821fbca36cb20f04b (diff)
downloadeopayment-wip/46237-tests-utcnow.zip
eopayment-wip/46237-tests-utcnow.tar.gz
eopayment-wip/46237-tests-utcnow.tar.bz2
tox: SETUPTOOLS_USE_DISTUTILS=stdlibwip/46237-tests-utcnow
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 0bd0b0f..0fb84eb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,10 +9,12 @@ toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/eopayment/{env:BRANCH_NAME:}
[testenv]
# django.contrib.auth is not tested it does not work with our templates
+usedevelop = True
+setenv =
+ SETUPTOOLS_USE_DISTUTILS=stdlib
commands =
py2: py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=eopayment/ tests}
py3: py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=eopayment/ tests}
-usedevelop = True
deps = coverage
pytest
pytest-freezegun