Replace "pytest_funcarg__" by @pytest.fixture

This commit is contained in:
Bruno Oliveira
2016-08-04 20:26:08 -03:00
parent e8fa737196
commit 7d124ecf87
4 changed files with 13 additions and 6 deletions

View File

@@ -37,7 +37,8 @@ def pytest_addoption(parser):
help=("add a global test environment, XSpec-syntax. "))
def pytest_funcarg__specssh(request):
@pytest.fixture
def specssh(request):
return getspecssh(request.config)