Merge branch 'services_init' into 17_positional_options
Conflicts: .coveragerc
This commit is contained in:
@ -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
|
||||
|
||||
@ -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()
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
from mock import Mock
|
||||
from unittest.mock import Mock
|
||||
|
||||
from bonobo import Bag
|
||||
from bonobo.constants import INHERIT_INPUT
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user