changeset 469640216dbf in modules/purchase_blanket_agreement:default
details: 
https://hg.tryton.org/modules/purchase_blanket_agreement?cmd=changeset&node=469640216dbf
description:
        Use unittest discover in tox
diffstat:

 tox.ini |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r d69757dc9b7d -r 469640216dbf tox.ini
--- a/tox.ini   Mon Oct 10 18:35:01 2022 +0200
+++ b/tox.ini   Mon Oct 10 19:16:59 2022 +0200
@@ -2,8 +2,9 @@
 envlist = {py37,py38,py39,py310}-{sqlite,postgresql}
 
 [testenv]
+extras = test
 commands =
-    coverage run --include=.*/purchase_blanket_agreement/* setup.py test
+    coverage run --include=.*/purchase_blanket_agreement/* -m unittest 
discover -s tests
     coverage report --include=.*/purchase_blanket_agreement/* --omit=*/tests/*
 deps =
     coverage

Reply via email to