adjustments and fixes to test run, distribution files. thanks thm.

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-11-24 15:16:58 +01:00
parent 8c6593cc08
commit 9d5b313aad
8 changed files with 27 additions and 10 deletions

View File

@@ -47,6 +47,9 @@ class TestDoctest:
assert request.module.__name__ == __name__
testdir.makepyfile(confrest=
"from py.plugin.pytest_restdoc import Project")
# we scope our confrest file so that it doesn't
# conflict with another global confrest.py
testdir.makepyfile(__init__="")
for p in testdir.plugins:
if p == globals():
break