Merge lp:~sylvain-pineau/checkbox/report-suites-event into lp:checkbox

Proposed by Sylvain Pineau
Status: Merged
Merged at revision: 1216
Proposed branch: lp:~sylvain-pineau/checkbox/report-suites-event
Merge into: lp:checkbox
Diff against target: 12 lines (+3/-0)
1 file modified
plugins/jobs_prompt.py (+3/-0)
To merge this branch: bzr merge lp:~sylvain-pineau/checkbox/report-suites-event
Reviewer Review Type Date Requested Status
Marc Tardif (community) Approve
Review via email: mp+91133@code.launchpad.net

Description of the change

Add a new event "report-suites" to be used in conjunction with reporting features in checkbox-certification

To post a comment you must log in.
Revision history for this message
Marc Tardif (cr3) wrote :

The change looks innocuous enough not to affect the base checkbox. Merging.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/jobs_prompt.py'
2--- plugins/jobs_prompt.py 2012-01-10 21:03:57 +0000
3+++ plugins/jobs_prompt.py 2012-02-01 17:05:24 +0000
4@@ -131,6 +131,9 @@
5 tests = [m for m in messages if m.get("type") in ("test", "metric")]
6 self._manager.reactor.fire("report-tests", tests)
7
8+ suites = [m for m in messages if m.get("type") == "suite"]
9+ self._manager.reactor.fire("report-suites", suites)
10+
11 attachments = [m for m in messages if m.get("type") == "attachment" and "data" in m]
12 self._manager.reactor.fire("report-attachments", attachments)
13

Subscribers

People subscribed via source and target branches