unify collection for finding items and for finding initial nodes.

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-10-25 23:08:41 +02:00
parent 603ff3a64f
commit a6f10a6d80
3 changed files with 44 additions and 40 deletions

View File

@@ -8,6 +8,9 @@ rsyncdirs = ['conftest.py', '../pytest', '../doc', '.']
import os, py
def pytest_report_header():
return "pid: %s" % os.getpid()
def pytest_generate_tests(metafunc):
multi = getattr(metafunc.function, 'multi', None)
if multi is not None: