Skip to content
Snippets Groups Projects
Commit 75e44922 authored by Chris Pastl's avatar Chris Pastl
Browse files

test: add test_post_health

parent 75c45ed8
No related branches found
No related tags found
1 merge request!39Improve test coverage for monitor
Pipeline #8019 passed
......@@ -160,6 +160,12 @@ class TestPluginsMonitor(unittest.TestCase):
self.assertEqual(status["exists"], False)
self.assertEqual(status["has_content"], False)
def test_post_health(self):
print(self._testMethodName)
self.config.monitoring.heartbeat.frequency = 0 # disable timer
self.monitor.post_health(data=None, is_healthy=True)
if __name__ == "__main__":
unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment