[PATCH 2 of 2 pybill] Tox: add basic tox.ini & dev-requirements.txt

Nsukami Patrick ptrck at nskm.xyz
Mon Sep 9 17:40:45 CEST 2019


# HG changeset patch
# User Nsukami Patrick <ndkpatt at gmail dot com>
# Date 1568037780 0
#      Mon Sep 09 14:03:00 2019 +0000
# Node ID c1db7fb98bec3036e18864ae4028941bc940091c
# Parent  e290fe581aee60d44043af9f40ee08b67cbfbaa6
Tox: add basic tox.ini & dev-requirements.txt

diff --git a/dev-requirements.txt b/dev-requirements.txt
new file mode 100644
--- /dev/null
+++ b/dev-requirements.txt
@@ -0,0 +1,2 @@
+pytest
+
diff --git a/tox.ini b/tox.ini
new file mode 100644
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,13 @@
+[tox]
+envlist=py27
+
+[testenv]
+deps =
+  -rdev-requirements.txt
+commands =
+  {envpython} -m pytest {posargs}
+
+[pytest]
+python_files = *test*.py
+testpaths = test
+addopts = -r fEs



More information about the cubicweb-devel mailing list