From e7dc5379009ee0982138881eb82a5de268ef2e02 Mon Sep 17 00:00:00 2001 From: Craig Lamparter Date: Thu, 14 Jan 2021 11:28:59 -0800 Subject: [PATCH] fix plugin tests to expect new strings --- tests/test_plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index 3be42f0..cbe532c 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -44,7 +44,7 @@ class TestPlugin(unittest.TestCase): message = "?delete" query = query_plugin.QueryPlugin(self.config) - expected = "Deleted ALL delayed msgs." + expected = "Deleted ALL pending msgs." actual = query.run(self.fromcall, message, self.ack) mock_flush.assert_called_once() self.assertEqual(expected, actual) @@ -53,10 +53,10 @@ class TestPlugin(unittest.TestCase): def test_query_restart_delayed(self, mock_restart): track = messaging.MsgTrack() track.track = {} - message = "?r4" + message = "?4" query = query_plugin.QueryPlugin(self.config) - expected = "No delayed msgs to resend" + expected = "Pending messages (0)" actual = query.run(self.fromcall, message, self.ack) mock_restart.assert_not_called() self.assertEqual(expected, actual)