* streamline hookrecording and global py._com.comregistry patching

* this fixes a reporting bug where events from inner test runs would
  mix with the outer test run

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-05-21 09:45:43 +02:00
parent dcee9bdd6e
commit a58292b473
7 changed files with 41 additions and 21 deletions

View File

@@ -117,6 +117,7 @@ class pytest_funcarg__mysetup:
tmp = request.config.mktemp(request.function.__name__, numbered=True)
self.source = tmp.mkdir("source")
self.dest = tmp.mkdir("dest")
request.getfuncargvalue("_pytest") # to have patching of py._com.comregistry
class TestHRSync:
def test_hrsync_filter(self, mysetup):