Fix bug in strict xfail: test was not being actually called

This commit is contained in:
Bruno Oliveira
2016-02-15 18:43:45 -02:00
parent 9af1f63ab6
commit ee88679c54
4 changed files with 9 additions and 1 deletions

View File

@@ -497,6 +497,7 @@ class TestFunction:
return True
config.pluginmanager.register(MyPlugin1())
config.pluginmanager.register(MyPlugin2())
config.hook.pytest_runtest_setup(item=item)
config.hook.pytest_pyfunc_call(pyfuncitem=item)
def test_multiple_parametrize(self, testdir):