added interaction for monitor state updating

This commit is contained in:
PatchOfScotland
2023-01-15 13:44:53 +01:00
parent 6ab9c84745
commit be2a9beff3
5 changed files with 323 additions and 51 deletions

View File

@ -44,7 +44,6 @@ class MeowTests(unittest.TestCase):
recipes = {
recipe.name: recipe,
}
rules = create_rules(patterns, recipes)
monitor_debug_stream = io.StringIO("")
handler_debug_stream = io.StringIO("")
@ -52,7 +51,8 @@ class MeowTests(unittest.TestCase):
runner = MeowRunner(
WatchdogMonitor(
TEST_MONITOR_BASE,
rules,
patterns,
recipes,
print=monitor_debug_stream,
logging=3,
settletime=1
@ -142,7 +142,8 @@ class MeowTests(unittest.TestCase):
runner = MeowRunner(
WatchdogMonitor(
TEST_MONITOR_BASE,
rules,
patterns,
recipes,
print=monitor_debug_stream,
logging=3,
settletime=1