Fix flake8 formatting errors

This commit is contained in:
verdesmarald
2017-09-07 16:39:21 +10:00
committed by James Bungard
parent 7674f6b186
commit 1e66af6389
2 changed files with 4 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ def test_auto_detect_cpus(testdir, monkeypatch):
config = testdir.parseconfigure("-nauto")
assert config.getoption('numprocesses') == 99
def test_boxed_with_collect_only(testdir):
from xdist.plugin import pytest_cmdline_main as check_options
config = testdir.parseconfigure("-n1", "--boxed")
@@ -57,6 +58,7 @@ def test_boxed_with_collect_only(testdir):
check_options(config)
assert config.option.forked
def test_dsession_with_collect_only(testdir):
from xdist.plugin import pytest_cmdline_main as check_options
from xdist.plugin import pytest_configure as configure
@@ -71,6 +73,7 @@ def test_dsession_with_collect_only(testdir):
configure(config)
assert not config.pluginmanager.hasplugin("dsession")
class TestDistOptions:
def test_getxspecs(self, testdir):
config = testdir.parseconfigure("--tx=popen", "--tx", "ssh=xyz")