mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-05 02:29:22 +01:00
fix test
This commit is contained in:
parent
dc79ab193a
commit
749b8e18ad
@ -36,7 +36,7 @@ class MiscTestCase(SupyTestCase):
|
||||
def testAuthorExpand(self):
|
||||
# The standard 3 pair: name, nick, email
|
||||
self.assertEqual(str(supybot.authors.progval),
|
||||
'Valentin Lorentz (ProgVal) <progval@gmail.com>')
|
||||
'Valentin Lorentz (progval) <progval@gmail.com>')
|
||||
# All 3 provided, but name == nick
|
||||
self.assertEqual(str(supybot.Author('foobar', 'foobar', 'foobar@example.net')),
|
||||
'foobar <foobar@example.net>')
|
||||
@ -57,7 +57,7 @@ class MiscTestCase(SupyTestCase):
|
||||
|
||||
def testAuthorExpandShort(self):
|
||||
self.assertEqual(supybot.authors.progval.format(short=True),
|
||||
'Valentin Lorentz (ProgVal)')
|
||||
'Valentin Lorentz (progval)')
|
||||
self.assertEqual(supybot.authors.jlu.format(short=True),
|
||||
'James Lu')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user