Fixed both issues
This commit is contained in:
@@ -82,6 +82,7 @@ class MonitorTests(unittest.TestCase):
|
||||
"summary": {"total": 1234},
|
||||
"capabilities": {"graylog_mcp": {"status": "connected", "events_fetched": 99, "raw_events_fetched": 88, "aggregate_events": 1234, "fetch_mode": "aggregate", "coverage_status": "complete_window"}},
|
||||
"cross_source_correlations": [{"entity": "10.0.0.1", "entity_label": "host01 (10.0.0.1)"}],
|
||||
"llm_assessment": {"enabled": True, "status": "cached", "text": "previous assessment"},
|
||||
},
|
||||
)
|
||||
|
||||
@@ -95,6 +96,7 @@ class MonitorTests(unittest.TestCase):
|
||||
self.assertEqual(mcp["raw_events_fetched"], 88)
|
||||
self.assertEqual(mcp["aggregate_events"], 1234)
|
||||
self.assertEqual(mcp["previous_status"], "connected")
|
||||
self.assertTrue(status["llm_assessment"]["enabled"])
|
||||
self.assertTrue(status["status_cache"]["served_from_cache"])
|
||||
|
||||
def test_profile_readiness_includes_stream_and_profile_names(self):
|
||||
|
||||
Reference in New Issue
Block a user