Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Pytest describe #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Pytest describe #29

wants to merge 3 commits into from

Conversation

merc1031
Copy link

No description provided.

@merc1031 merc1031 marked this pull request as ready for review February 20, 2022 01:37
Leonidas Loucas added 2 commits March 4, 2022 15:48
Pytest docs say that setup and teardown functions run prior to fixtures,
therefore the plugin was always patching (being enabled), and strong
guards via fixture cacheing were
making it look like setup and teardown were called at the right time.
By promotoing enable_plugin to a fixture in all cases, and using a
autouse yield fixture to call setup and teardown we can make this under
our full control
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants