use config.getoption instead of deprecated config.getvalue

and adapt a few tests to also run against pytest-2.6.0.dev
This commit is contained in:
holger krekel
2014-05-14 08:13:56 +02:00
parent eb639d19ec
commit de377c1001
3 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ pytest_plugins = "pytester"
def pytest_addoption(parser):
parser.addoption('--gx',
action="append", dest="gspecs", default=None,
action="append", dest="gspecs",
help=("add a global test environment, XSpec-syntax. "))
def pytest_funcarg__specssh(request):