From bc16198c3502e3e918f81333b8da8d7cf0c5cff4 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 11 Jan 2016 20:16:34 -0500 Subject: [PATCH] RC monitor ready for testing. --- commands/rc_monitor.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/commands/rc_monitor.py b/commands/rc_monitor.py index 82c464e..ac931ed 100644 --- a/commands/rc_monitor.py +++ b/commands/rc_monitor.py @@ -94,19 +94,25 @@ class RCMonitor(Command): def _prepare_reports(self): """Set up internal tables for storing report information.""" routine = 1 + alert = 2 urgent = 3 self._levels = { routine: "routine", - # ... + alert: "alert", + urgent: "URGENT" } self._issues = { "random": routine, "random2": urgent, # ... + "g10": alert } self._descriptions = { + "random": "common random test", + "random2": "rare random test", # ... + "g10": "CSD G10 nomination" } def _evaluate(self, event):