fix(evidence): harden unchanged job snapshot
This commit is contained in:
@@ -114,7 +114,7 @@ before, first_count, second_count, third_count = map(int, sys.argv[4:])
|
||||
assert len(a["changed"]) == 1 and not a["unchanged"]
|
||||
assert len(b["unchanged"]) == 1 and not b["changed"]
|
||||
assert len(c["changed"]) == 1 and c["generation"] != a["generation"]
|
||||
assert all(row["published"] for row in (a, b, c))
|
||||
assert a["published"] and not b["published"] and c["published"]
|
||||
assert first_count == before + 1
|
||||
assert second_count == first_count
|
||||
assert third_count == second_count + 1
|
||||
|
||||
Reference in New Issue
Block a user