remove the group in raw

This commit is contained in:
larssand
2026-06-30 12:30:50 +02:00
parent 4f968eeed5
commit f95a861eb6
3 changed files with 9 additions and 1 deletions

View File

@@ -118,6 +118,7 @@ class MonitorTests(unittest.TestCase):
{
"summary": {"total": 42},
"capabilities": {"graylog_mcp": {"status": "connected"}},
"stream_coverage": [{"stream_name": "Firewall", "aggregate_status": "error"}],
"cross_source_correlations": [{"entity": "10.0.0.1"}],
},
)
@@ -129,6 +130,8 @@ class MonitorTests(unittest.TestCase):
self.assertTrue(status["stale"])
self.assertEqual(status["capabilities"]["graylog_mcp"]["status"], "error")
self.assertTrue(status["status_cache"]["served_from_cache"])
self.assertEqual(status["stream_coverage"][0]["aggregate_error"], "")
self.assertEqual(status["stream_coverage"][0]["raw_error"], "")
if __name__ == "__main__":