Remove ActionReporters
We no longer need action reporters that we load a new instance
of each reporter for each pipeline/action couple.
Change-Id: I3b6c6f9fd5402786dbc9916e1d18df34e348a7bd
diff --git a/tests/test_scheduler.py b/tests/test_scheduler.py
index 5168588..4f52911 100755
--- a/tests/test_scheduler.py
+++ b/tests/test_scheduler.py
@@ -3356,23 +3356,23 @@
len(self.sched.layout.pipelines['gate'].merge_failure_actions), 2)
self.assertTrue(isinstance(
- self.sched.layout.pipelines['check'].merge_failure_actions[0].
- reporter, zuul.reporter.gerrit.GerritReporter))
+ self.sched.layout.pipelines['check'].merge_failure_actions[0],
+ zuul.reporter.gerrit.GerritReporter))
self.assertTrue(
(
isinstance(self.sched.layout.pipelines['gate'].
- merge_failure_actions[0].reporter,
+ merge_failure_actions[0],
zuul.reporter.smtp.SMTPReporter) and
isinstance(self.sched.layout.pipelines['gate'].
- merge_failure_actions[1].reporter,
+ merge_failure_actions[1],
zuul.reporter.gerrit.GerritReporter)
) or (
isinstance(self.sched.layout.pipelines['gate'].
- merge_failure_actions[0].reporter,
+ merge_failure_actions[0],
zuul.reporter.gerrit.GerritReporter) and
isinstance(self.sched.layout.pipelines['gate'].
- merge_failure_actions[1].reporter,
+ merge_failure_actions[1],
zuul.reporter.smtp.SMTPReporter)
)
)