From f6d9e17b4d309a71509686f700a4649f16018df4 Mon Sep 17 00:00:00 2001 From: echarlie Date: Sat, 4 Nov 2017 12:32:54 -0400 Subject: [PATCH] fix tests, also correct erroneous help for tfwev --- modules/test/test_tfw.py | 2 +- modules/tfw.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/test/test_tfw.py b/modules/test/test_tfw.py index f1e9e8c..b83c695 100644 --- a/modules/test/test_tfw.py +++ b/modules/test/test_tfw.py @@ -20,7 +20,7 @@ class TestTfw(unittest.TestCase): tfw.tfw(self.phenny, input) self.phenny.say.assert_called_once_with( - "WHERE THE FUCK IS THAT? Try another location.") + "WHERE THE FUCK IS THAT? I guess you might think it's a place, but no one else does. Try again.") def test_celsius(self): input = Mock(group=lambda x: '24060') diff --git a/modules/tfw.py b/modules/tfw.py index 98d32e5..45fa3d3 100644 --- a/modules/tfw.py +++ b/modules/tfw.py @@ -280,7 +280,7 @@ def tfwc(phenny, input): tfwc.rule = (['tfwc'], r'(.*)') def tfwev(phenny, input): - """.tfwc - The fucking weather, in fucking degrees celsius.""" + """.tfwev - The fucking weather, in fucking electron volts.""" return tfw(phenny, input, mev=True) tfwev.rule = (['tfwev'], r'(.*)')