diff --git a/modules/test/test_tfw.py b/modules/test/test_tfw.py index ebea00b..18c7621 100644 --- a/modules/test/test_tfw.py +++ b/modules/test/test_tfw.py @@ -42,13 +42,22 @@ class TestTfw(unittest.TestCase): def test_mev(self): input = Mock(group=lambda x: '24060') - tfw.tfw(self.phenny, input) + tfw.tfweV(self.phenny, input) out = self.phenny.say.call_args[0][0] m = re.match('^[\-\d\.]+ meV‽ .* \- .* \- [A-Z]{4} \d{2}:\d{2}Z$', out, flags=re.UNICODE) self.assertTrue(m) + def test_meter(self): + input = Mock(group=lambda x: '24060') + tfw.tfw(self.phenny, input) + + out = self.phenny.say.call_args[0][0] + m = re.match('^[\-\d\.]+ Meters‽ .* \- .* \- [A-Z]{4} \d{2}:\d{2}Z$', out, + flags=re.UNICODE) + self.assertTrue(m) + def test_sexy_time(self): input = Mock(group=lambda x: 'KBCB') tfw.web = MagicMock()