update test case for new .time

master
mutantmonkey 2013-11-28 23:06:28 -08:00
parent 4fa63e7314
commit 26f37e83be
1 changed files with 1 additions and 3 deletions

View File

@ -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',