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