Fix test output.
This commit is contained in:
parent
8bb8d38cc8
commit
c488df5983
|
@ -24,7 +24,7 @@ class TestMonitoringOutput(unittest.TestCase):
|
|||
"""Test what happens if there is no zpool at all"""
|
||||
|
||||
return_info = monitor_snapshots_command()
|
||||
self.assertEqual(return_info.stdout, "chicken")
|
||||
self.assertEqual(return_info.stdout, b"CRIT: sanoid-test-1 has no daily snapshots at all!, CRIT: sanoid-test-1 has no hourly snapshots at all!, CRIT: sanoid-test-1 has no monthly snapshots at all!\n")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue