Show author info
All checks were successful
Tests / Declarative: Post Actions passed: 14
CI-Multi/pipeline/pr-main This commit looks good

This commit is contained in:
2026-02-22 13:38:30 +01:00
parent 9297bed50e
commit f2da39f0db
4 changed files with 128 additions and 12 deletions

View File

@@ -112,6 +112,9 @@ def test_build_history(monkeypatch):
{"commit": "9ac3f91", "message": "Anade la API de Jenkins", "author": "Dev One"}
]
assert first["trigger"] == "Triggered by Merge pull request #37"
assert first["trigger_label"] == "Merge PR #37"
assert first["trigger_url"] == ""
assert first["trigger_author"] == ""
second = builds[1]
assert second["number"] == 204
@@ -119,6 +122,9 @@ def test_build_history(monkeypatch):
assert second["duration_seconds"] == 1
assert second["commits"] == []
assert second["trigger"] == ""
assert second["trigger_label"] == ""
assert second["trigger_url"] == ""
assert second["trigger_author"] == ""
def test_build_history_error_returns_empty(monkeypatch):