We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20b2252 commit fe32ad8Copy full SHA for fe32ad8
tests/integration/test_job.py
@@ -36,6 +36,20 @@ def test_run_date(self):
36
self.assertTrue(len(stdout) > 0)
37
print(stdout)
38
39
+ def test_exec_date(self):
40
+ print("*** test_run_date")
41
+ client = self.get_client()
42
+ job = client.execute("date")
43
+ print(job)
44
+ job.cache_time = 0
45
+ job.poll()
46
+ exit_code = int(job.properties["exitCode"])
47
+ self.assertEqual(0, exit_code)
48
+ work_dir = job.working_dir
49
+ stdout = work_dir.stat("/stdout").read()
50
+ self.assertTrue(len(stdout) > 0)
51
+ print(stdout)
52
+
53
def test_run_uploaded_script(self):
54
print("*** test_run_uploaded_script")
55
client = self.get_client()
0 commit comments