Skip to content

Show how to register a plugin in a test fixture #2234

@simonw

Description

@simonw

Extension of this pattern: https://docs.datasette.io/en/stable/testing_plugins.html#registering-a-plugin-for-the-duration-of-a-test

I just wasted a bunch of time because I forgot to use yield rather than return, so I think this is worth documenting.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions