[PATCH 2 of 6 rememberme] Add a tox config

Denis Laxalde denis.laxalde at logilab.fr
Mon Jun 4 12:06:55 CEST 2018


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1528099465 -7200
#      Mon Jun 04 10:04:25 2018 +0200
# Node ID 9ee6cfb52c0844a2bfe8a1223fafa7f4dddd0567
# Parent  ecf39fc0f89cea168ef081e9ab40fa3597b4d7fc
# Available At http://hg.logilab.org/review/cubes/rememberme
#              hg pull http://hg.logilab.org/review/cubes/rememberme -r 9ee6cfb52c08
# EXP-Topic py3
Add a tox config

diff --git a/.hgignore b/.hgignore
new file mode 100644
--- /dev/null
+++ b/.hgignore
@@ -0,0 +1,2 @@
+.tox
+cubicweb_rememberme.egg-info
diff --git a/tox.ini b/tox.ini
new file mode 100644
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,14 @@
+[tox]
+envlist = py27
+
+[testenv]
+deps =
+  webtest
+  pytest
+commands =
+  {envpython} -m pytest {posargs:--verbose}
+
+[pytest]
+python_files = *test_*.py
+testpaths = test
+addopts = -r fEs


More information about the cubicweb-devel mailing list