Show author info
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user