test(titan-iac): update payload unit tests for per-test metric argument
This commit is contained in:
parent
cb1c41c6ea
commit
710ec96990
@ -321,6 +321,7 @@ def test_build_payload_includes_canonical_checks():
|
|||||||
suite="titan-iac",
|
suite="titan-iac",
|
||||||
status="ok",
|
status="ok",
|
||||||
tests={"tests": 4, "failures": 1, "errors": 0, "skipped": 1},
|
tests={"tests": 4, "failures": 1, "errors": 0, "skipped": 1},
|
||||||
|
test_cases=[],
|
||||||
ok_count=7,
|
ok_count=7,
|
||||||
failed_count=2,
|
failed_count=2,
|
||||||
branch="main",
|
branch="main",
|
||||||
@ -348,6 +349,7 @@ def test_build_payload_omits_checks_block_without_check_statuses():
|
|||||||
suite="titan-iac",
|
suite="titan-iac",
|
||||||
status="failed",
|
status="failed",
|
||||||
tests={"tests": 0, "failures": 0, "errors": 0, "skipped": 0},
|
tests={"tests": 0, "failures": 0, "errors": 0, "skipped": 0},
|
||||||
|
test_cases=[],
|
||||||
ok_count=1,
|
ok_count=1,
|
||||||
failed_count=2,
|
failed_count=2,
|
||||||
branch="",
|
branch="",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user