[qa] add test for bonobo run <path>.
This commit is contained in:
@ -59,6 +59,15 @@ def test_run_module(runner, capsys):
|
||||
assert out[1].startswith('Bar ')
|
||||
assert out[2].startswith('Baz ')
|
||||
|
||||
@all_runners
|
||||
def test_run_path(runner, capsys):
|
||||
runner('run', '--quiet', get_examples_path('types'))
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user