pchomik / pytest-spec

Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION.
GNU General Public License v2.0
100 stars 19 forks source link

Fix pytest UserWarning #25

Closed cetanu closed 4 years ago

cetanu commented 4 years ago

This changes resolves the following warning:

pytest_spec/patch.py:23: UserWarning: Argument(s) ('config',) which are declared in the hookspec can not be found in this hook call
res = self.config.hook.pytest_report_teststatus(report=report)

-- Docs: https://docs.pytest.org/en/latest/warnings.html

Relevant 3rd party PR which helped me figure this out: https://github.com/ansible/pytest-mp/pull/17

cetanu commented 4 years ago

Hmm I think I have made a mistake here.