fix tests, also correct erroneous help for tfwev
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -280,7 +280,7 @@ def tfwc(phenny, input):
|
||||
tfwc.rule = (['tfwc'], r'(.*)')
|
||||
|
||||
def tfwev(phenny, input):
|
||||
""".tfwc <city/zip> - The fucking weather, in fucking degrees celsius."""
|
||||
""".tfwev <city/zip> - The fucking weather, in fucking electron volts."""
|
||||
return tfw(phenny, input, mev=True)
|
||||
tfwev.rule = (['tfwev'], r'(.*)')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user