From 32ca5cdb09dd47547aebb2ceadfbdf511af27b69 Mon Sep 17 00:00:00 2001 From: Danielle Jenkins Date: Sat, 25 Jun 2016 12:33:31 +0200 Subject: [PATCH] Update changelog for new fixture hooks. --- CHANGELOG.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f3f034cf4..06df82b45 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -53,6 +53,12 @@ fixtures and reports them. Thanks `@d6e`_, `@kvas-it`_, `@sallner`_ and `@omarkohl`_ for the PR. +* Added two new hooks: ``pytest_fixture_setup`` which executes the fixture + setup and ``pytest_fixture_post_finalizer`` which is called after the fixture's + finalizer and has access to the fixture's result cache. + Thanks `@d6e`_, `@sallner`_ + + **Changes** * Fixtures marked with ``@pytest.fixture`` can now use ``yield`` statements exactly like