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