Collect tests from __init__.py files if they match 'python_files'

Fix #3773
This commit is contained in:
Bruno Oliveira
2018-08-25 11:09:43 -03:00
parent be4b359c74
commit de6f2c0336
7 changed files with 37 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
[pytest]
python_files = *.py

View File

@@ -0,0 +1,2 @@
def test_init():
pass

View File

@@ -0,0 +1,2 @@
def test_foo():
pass