Add pytestconfig fixture

This commit is contained in:
Bruno Oliveira 2018-02-27 17:13:14 -03:00
parent 918dffba96
commit 400558cc9c
1 changed files with 7 additions and 0 deletions

View File

@ -411,3 +411,10 @@ The ``request`` fixture is a special fixture providing information of the reques
.. autoclass:: _pytest.fixtures.FixtureRequest() .. autoclass:: _pytest.fixtures.FixtureRequest()
:members: :members:
pytestconfig
~~~~~~~~~~~~
Scoped-session fixture which returns the internal :class:`_pytest.config.Config` object.