Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Pytest Decorator
def decorator(func):
def _decorator():
return _decorator
def pytest_namespace():
return {
'decorator': decorator
import pytest
def test_decorator():
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment