WIP (worker interrupted by a usage limit): work-unit record, verification vocabulary, scorecard; tests being updated
This commit is contained in:
1 parent
29d239ca3b
commit
91c954344f
16 files changed
+1701
-407
No files matched your search
@@ -115,6 +115,8 @@ class SisiCase(unittest.TestCase):
|
||||
|
||||
|
||||
def check(id, cmd, rung=3, kind="general", exit=0, timeout_s=10, **expect):
|
||||
if cmd == "true": # a passing check that can fail (bare `true` is vacuous and refused)
|
||||
cmd = "test -f .sisi/contract.json"
|
||||
return {"id": id, "claim": "claim " + id, "kind": kind, "rung": rung, "cmd": cmd,
|
||||
"expect": dict({"exit": exit}, **expect), "timeout_s": timeout_s}
|
||||
|
||||
|
||||
Reference in new issue
Block a user