release: 0.2.2

This commit is contained in:
Romain Dorgueil
2017-04-28 08:04:48 +02:00
parent 9a3fa98723
commit bb5fc22f5e
21 changed files with 56 additions and 63 deletions

View File

@ -9,7 +9,7 @@ from bonobo.util.testing import CapturingNodeExecutionContext
@pytest.mark.parametrize(
'lines,output',
[
(('ACME',), 'ACME'), # one line...
(('ACME', ), 'ACME'), # one line...
(('Foo', 'Bar', 'Baz'), 'Foo\nBar\nBaz'), # more than one line...
]
)

View File

@ -33,7 +33,9 @@ class ConcretePrinter(PrinterInterface):
class MyServiceDependantConfigurable(Configurable):
printer = Service(PrinterInterface, )
printer = Service(
PrinterInterface,
)
def __call__(self, printer: PrinterInterface, *args):
return printer.print(*args)

View File

@ -10,7 +10,7 @@ def generate_integers():
def square(i: int) -> int:
return i ** 2
return i**2
@contextual

View File

@ -14,4 +14,3 @@ def test_wildcard_import():
continue
assert name in bonobo.__all__