mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2026-02-05 22:55:15 +01:00
Show returned JSON in OK Status when performance data is requested
This commit is contained in:
@@ -48,4 +48,4 @@ class NagiosHelperTest(unittest.TestCase):
|
||||
|
||||
helper = NagiosHelper()
|
||||
helper.performance_data = 'foobar'
|
||||
self.assertEqual('OK: Status OK.|foobar', helper.getMessage())
|
||||
self.assertEqual('OK: foobar Status OK. |foobar', helper.getMessage())
|
||||
|
||||
Reference in New Issue
Block a user