Beispiel #1
0
 def test_dbnd_run(self, tmpdir):
     t = targets.target(tmpdir.join("task_output"))
     args = [
         TTask.get_task_family(), "-r", "t_param=10", "-r",
         "t_output=" + t.path
     ]
     run_dbnd_subprocess_test(args)
     assert t.exists()
Beispiel #2
0
 def test_dbnd_help(self):
     stdout = run_dbnd_subprocess_test([TTask.get_task_family(), "--help"])
     assert "-r", "t_param" in stdout
Beispiel #3
0
 def test_cmdline_main_task_cls(self):
     dbnd_run_cmd([TTask.get_task_family(), "-r", "t_param=100"])