Configure pytest for discovery of unittest_*.py files
authorDenis Laxalde <denis.laxalde@logilab.fr>
Wed, 14 Nov 2018 10:19:25 +0100
changeset 378 90ff750849f9
parent 377 97a3a1fc267f
child 379 4cc7638ff93c
Configure pytest for discovery of unittest_*.py files Otherwise, only test_blog.py was run.
tox.ini
--- a/tox.ini	Tue Nov 13 16:57:22 2018 +0100
+++ b/tox.ini	Wed Nov 14 10:19:25 2018 +0100
@@ -25,3 +25,6 @@
 max-line-length = 100
 ignore = E731,W503
 exclude = cubicweb_blog/__pkginfo__.py,cubicweb_blog/migration/*,test/data/*,.tox/*
+
+[pytest]
+python_files = *test_*.py