From 26f37e83be814abf8bc7c370f36fc8328d3dd7d9 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Thu, 28 Nov 2013 23:06:28 -0800 Subject: [PATCH] update test case for new .time --- modules/test/test_clock.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/test/test_clock.py b/modules/test/test_clock.py index d6038df..686d21a 100644 --- a/modules/test/test_clock.py +++ b/modules/test/test_clock.py @@ -17,9 +17,7 @@ class TestClock(unittest.TestCase): @patch('time.time') def test_time(self, mock_time): mock_time.return_value = 1338674651 - input = Mock( - match=Mock(group=lambda x: 'EDT'), - sender='#phenny', nick='phenny_test') + input = Mock(group=lambda x: 'EDT') f_time(self.phenny, input) self.phenny.msg.called_once_with('#phenny',