fix issue139 - make it possible to access funcargs from pytest_runtest_setup

This commit is contained in:
holger krekel 2012-06-25 18:08:12 +02:00
parent b4b86159cd
commit ea49993459
1 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
Changes between 2.2.4 and 2.3.0.dev
-----------------------------------
- merge FuncargRequest and Item API such that funcarg-functionality
is now natively available on the "item" object passed to the various
pytest_runtest hooks. This allows more sensitive behaviour
of e.g. the pytest-django plugin which previously had no full
access to all instantiated funcargs.
- fix issue139 - merge FuncargRequest and Item API such that
funcarg-functionality is now directly available on the "item"
object passed to the various pytest_runtest hooks. This allows more
sensitive behaviour of e.g. the pytest-django plugin which previously
had no full access to all instantiated funcargs.
This internal API re-organisation is a fully backward compatible
change: existing factories accepting a "request" object will
get a Function "item" object which carries the same API. In fact,