mirror of https://github.com/pytest-dev/pytest.git
Add changelog
This commit is contained in:
parent
23232f3aa0
commit
efbd83fe04
1
AUTHORS
1
AUTHORS
|
@ -26,6 +26,7 @@ Andrea Cimatoribus
|
||||||
Andreas Motl
|
Andreas Motl
|
||||||
Andreas Zeidler
|
Andreas Zeidler
|
||||||
Andrew Shapton
|
Andrew Shapton
|
||||||
|
Andrew Svetlov
|
||||||
Andrey Paramonov
|
Andrey Paramonov
|
||||||
Andrzej Klajnert
|
Andrzej Klajnert
|
||||||
Andrzej Ostrowski
|
Andrzej Ostrowski
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
Fixture types are now exported so the may be used in pytest plugin hooks.
|
||||||
|
|
||||||
|
The newly-exported types are:
|
||||||
|
|
||||||
|
- ``pytest.FixtureDef`` for :class:`FixtureDef <pytest.FixtureDef>`
|
||||||
|
- ``pytest.SubRequest`` for ``_pytest.fixtures.SubRequest`` (derived from :class:`FixtureRequest <pytest.FixtureRequest`).
|
||||||
|
|
||||||
|
|
||||||
|
They are used by ``pytest_fixture_setup`` and ``pytest_fixture_post_finalizer`` hook definitions.
|
|
@ -905,7 +905,7 @@ File
|
||||||
FixtureDef
|
FixtureDef
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
|
|
||||||
.. autoclass:: _pytest.fixtures.FixtureDef()
|
.. autoclass:: pytest.FixtureDef()
|
||||||
:members:
|
:members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue