[qa] tests bonobo run using module path.
This commit is contained in:
@ -50,6 +50,16 @@ def test_run(runner, capsys):
|
||||
assert out[2].startswith('Baz ')
|
||||
|
||||
|
||||
@all_runners
|
||||
def test_run_module(runner, capsys):
|
||||
runner('run', '--quiet', '-m', 'bonobo.examples.types.strings')
|
||||
out, err = capsys.readouterr()
|
||||
out = out.split('\n')
|
||||
assert out[0].startswith('Foo ')
|
||||
assert out[1].startswith('Bar ')
|
||||
assert out[2].startswith('Baz ')
|
||||
|
||||
|
||||
@all_runners
|
||||
def test_version(runner, capsys):
|
||||
runner('version')
|
||||
|
||||
Reference in New Issue
Block a user