Merge branch 'services_init' into 17_positional_options

Conflicts:
	.coveragerc
This commit is contained in:
Romain Dorgueil
2017-05-01 15:32:05 +02:00
45 changed files with 490 additions and 292 deletions

View File

@ -1,4 +1,4 @@
from mock import patch
from unittest.mock import patch
from bonobo.ext.opendatasoft import OpenDataSoftAPI
from bonobo.util.objects import ValueHolder

View File

@ -21,7 +21,7 @@ def test_file_writer_in_context(tmpdir, lines, output):
context.start()
context.recv(BEGIN, *map(Bag, lines), END)
for i in range(len(lines)):
for _ in range(len(lines)):
context.step()
context.stop()

View File

@ -1,4 +1,4 @@
from mock import Mock
from unittest.mock import Mock
from bonobo import Bag
from bonobo.constants import INHERIT_INPUT

View File

@ -18,7 +18,7 @@ def test_entrypoint():
def test_no_command(capsys):
with pytest.raises(SystemExit):
entrypoint([])
out, err = capsys.readouterr()
_, err = capsys.readouterr()
assert 'error: the following arguments are required: command' in err