How to use the pluggy.PluginManager.parse_hookimpl_opts function in pluggy

To help you get started, we’ve selected a few pluggy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pytest-dev / pluggy / testing / test_pluggy.py View on Github external
def parse_hookimpl_opts(self, module_or_class, name):
            opts = PluginManager.parse_hookimpl_opts(self, module_or_class, name)
            if opts is None:
                if name.startswith("x1"):
                    opts = {}
            return opts
github pytest-dev / pluggy / testing / test_details.py View on Github external
def parse_hookimpl_opts(self, module_or_class, name):
            opts = PluginManager.parse_hookimpl_opts(self, module_or_class, name)
            if opts is None:
                if name.startswith("x1"):
                    opts = {}
            return opts
github web-platform-tests / wpt / tools / third_party / pluggy / testing / test_details.py View on Github external
def parse_hookimpl_opts(self, module_or_class, name):
            opts = PluginManager.parse_hookimpl_opts(
                self, module_or_class, name)
            if opts is None:
                if name.startswith("x1"):
                    opts = {}
            return opts