Skip to content

Commit

Permalink
test: add regression
Browse files Browse the repository at this point in the history
   - This PR fixes #745
  • Loading branch information
OrthoDex committed Apr 26, 2020
1 parent 59f4a24 commit d9f4074
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1292,6 +1292,20 @@ def test(ctx):
check_contains("Commands for bundles", cl_output)
check_equals(cl_output, help_output)

@TestModule.register('executable_file')
def test(ctx):
script_uuid = _run_command([cl, 'upload', test_path('evaluate.sh')])
expected_exit_code = 0
run_uuid = _run_command(
[
cl,
'run',
':evaluate.sh',
'./evaluate.sh'
]
)

wait(run_uuid, expected_exit_code)

@TestModule.register('batch')
def test(ctx):
Expand Down

0 comments on commit d9f4074

Please sign in to comment.