diff --git a/Makefile b/Makefile index cc948f1..efdce66 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .PHONY: test -test: clean +test: clean lint @py.test -s -p no:doubles test .PHONY: lint diff --git a/doubles/pytest_plugin.py b/doubles/pytest_plugin.py index 35ca703..ff842f0 100644 --- a/doubles/pytest_plugin.py +++ b/doubles/pytest_plugin.py @@ -2,6 +2,7 @@ from doubles.lifecycle import teardown, verify + @pytest.hookimpl(hookwrapper=True) def pytest_pyfunc_call(pyfuncitem): outcome = yield