From 560a84657ca4e19086fabbe34ec0ab73e6220139 Mon Sep 17 00:00:00 2001 From: Julia Medina Date: Fri, 4 Apr 2014 16:54:40 -0300 Subject: [PATCH] Support doctest and __init__.py test discover in pytest --- pytest.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytest.ini b/pytest.ini index b845effc9..8d3bc91a5 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,5 @@ [pytest] usefixtures = chdir setlog +python_files=test_*.py __init__.py +addopts = --doctest-modules