* introduce and document new pytest_namespace hook

* remove py.test.mark helper
* move xfail to work directly on py.test namespace, simplified

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-06-18 17:19:12 +02:00
parent bcb30d1c7a
commit 4a48a50e3b
16 changed files with 125 additions and 118 deletions

View File

@@ -14,6 +14,10 @@ def pytest_configure(config):
``config`` provides access to all such configuration values.
"""
def pytest_namespace(config):
""" return dict of name->object to become available at py.test.*"""
def pytest_unconfigure(config):
""" called before test process is exited. """