fix various flakes issues and add "flakes" to tox tests

This commit is contained in:
holger krekel
2014-07-20 16:56:21 +02:00
parent 67f80b7c2c
commit cc237b0d8e
10 changed files with 28 additions and 32 deletions

View File

@@ -7,14 +7,11 @@ pytest_plugins = "pytester"
def pytest_addoption(parser):
parser.addoption('--gx',
action="append", dest="gspecs",
action="append", dest="gspecs",
help=("add a global test environment, XSpec-syntax. "))
def pytest_funcarg__specssh(request):
return getspecssh(request.config)
def getgspecs(config):
return [execnet.XSpec(spec)
for spec in config.getvalueorskip("gspecs")]
# configuration information for tests
def getgspecs(config):