[PATCH] [tox] add a simple tox file

Denis Laxalde denis.laxalde at logilab.fr
Tue Jun 12 10:32:00 CEST 2018


David Douard a écrit :
> # HG changeset patch
> # User David Douard <david.douard at logilab.fr>
> # Date 1528791643 -7200
> #      Tue Jun 12 10:20:43 2018 +0200
> # Node ID 86194c5ade9f6efaa32939023076cc46da0049c1
> # Parent  8bb1da58a6e6e806b8cc61f9250e21121041c69f
> # Available At https://hg.logilab.org/review/cubes/leaflet
> #              hg pull https://hg.logilab.org/review/cubes/leaflet -r 86194c5ade9f
> [tox] add a simple tox file

Looks good, but there is actually no test in this cube. So what's the point?

> diff --git a/tox.ini b/tox.ini
> new file mode 100644
> --- /dev/null
> +++ b/tox.ini
> @@ -0,0 +1,6 @@
> +[tox]
> +envlist = py27,py3
> +
> +[testenv]
> +commands =
> +  {envpython} -m unittest discover -s test -p "*test_*.py"
> 


More information about the cubicweb-devel mailing list