release: 0.2.2
This commit is contained in:
@ -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...
|
||||
]
|
||||
)
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -10,7 +10,7 @@ def generate_integers():
|
||||
|
||||
|
||||
def square(i: int) -> int:
|
||||
return i ** 2
|
||||
return i**2
|
||||
|
||||
|
||||
@contextual
|
||||
|
||||
@ -14,4 +14,3 @@ def test_wildcard_import():
|
||||
continue
|
||||
|
||||
assert name in bonobo.__all__
|
||||
|
||||
|
||||
Reference in New Issue
Block a user