Refactoring the runner to go more towards standard python, also adds the ability to use bonobo argument parser from standard python execution.

This commit is contained in:
Romain Dorgueil
2017-11-01 18:46:45 +01:00
parent e6596cf3f3
commit e06b616251
18 changed files with 537 additions and 470 deletions

View File

@ -9,8 +9,12 @@ def useless(*args, **kwargs):
def test_not_modified():
input_messages = [
('foo', 'bar'),
{'foo': 'bar'},
('foo', {'bar': 'baz'}),
{
'foo': 'bar'
},
('foo', {
'bar': 'baz'
}),
(),
]
@ -18,7 +22,3 @@ def test_not_modified():
context.write_sync(*input_messages)
assert context.get_buffer() == input_messages