re-introduce pytest._fillfuncargs - it's actually used by oejskit,

added a test documenting this.
This commit is contained in:
holger krekel 2011-03-06 08:56:58 +01:00
parent 5bef795ba7
commit 18e784c9c9
2 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def pytest_namespace():
'collect': {
'Module': Module, 'Class': Class, 'Instance': Instance,
'Function': Function, 'Generator': Generator,
}
'_fillfuncargs': fillfuncargs}
}
def pytest_funcarg__pytestconfig(request):

View File

@ -517,6 +517,10 @@ def test_callspec_repr():
repr(cs)
class TestFillFuncArgs:
def test_fillfuncargs_exposed(self):
# used by oejskit
assert pytest._fillfuncargs == funcargs.fillfuncargs
def test_funcarg_lookupfails(self, testdir):
testdir.makeconftest("""
def pytest_funcarg__xyzsomething(request):