Skip to content

Commit ac778ea

Browse files
committed
Add no container to TestJsConsole
1 parent 20695d1 commit ac778ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_examples.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,8 @@ def get_main_stderr(self, new_args):
545545

546546
def test_js_console_cmd_line_tool(self):
547547
for test_file in ("js_output.cwl", "js_output_workflow.cwl"):
548-
error_code, output = self.get_main_stderr(["--js-console", get_data("tests/wf/" + test_file)])
548+
error_code, output = self.get_main_stderr(["--js-console", "--no-container",
549+
get_data("tests/wf/" + test_file)])
549550

550551
self.assertIn("[log] Log message", output)
551552
self.assertIn("[err] Error message", output)
@@ -554,7 +555,8 @@ def test_js_console_cmd_line_tool(self):
554555

555556
def test_no_js_console(self):
556557
for test_file in ("js_output.cwl", "js_output_workflow.cwl"):
557-
error_code, output = self.get_main_stderr([get_data("tests/wf/" + test_file)])
558+
error_code, output = self.get_main_stderr(["--no-container",
559+
get_data("tests/wf/" + test_file)])
558560

559561
self.assertNotIn("[log] Log message", output)
560562
self.assertNotIn("[err] Error message", output)

0 commit comments

Comments
 (0)