Source

pytest-ghostpy / pytest_ghostpy / plugin.py

Full commit
1
2
3
4
5
6
7
8
from .wrapper import WrappedGhost

def pytest_funcarg__ghost_base(request):
    return request.config.getini('ghost_base')

def pytest_funcarg__ghost(request):
    base = request.getfuncargvalue('ghost_base')
    return WrappedGhost(base)