#664 Misc tests are broken

open
nobody
3
2013-11-30
2010-09-02
Valentin Lorentz
No

Hello,

I get this two error when testing the Misc plugin :

FAIL: testLast (Misc.test.MiscTestCase)

Traceback (most recent call last):
File "/home/progval/packages/lib64/python2.6/site-packages/supybot/test.py", line 130, in runTest
originalRunTest()
File "Supybot-0.83.4.1/plugins/Misc/test.py", line 169, in testLast
self.assertResponse('last', 'foo <%s> foo bar baz' % self.nick)
File "/home/progval/packages/lib64/python2.6/site-packages/supybot/test.py", line 296, in assertResponse
'%r != %r' % (expectedResponse, m.args[1]))
AssertionError: 'foo <test> foo bar baz' != '<test> foo bar baz'

======================================================================
FAIL: testTell (Misc.test.MiscTestCase)


Traceback (most recent call last):
File "/home/progval/packages/lib64/python2.6/site-packages/supybot/test.py", line 130, in runTest
originalRunTest()
File "Supybot-0.83.4.1/plugins/Misc/test.py", line 139, in testTell
self.failUnless('let you do' in m.args[1])
AssertionError


Ran 29 tests in 5.140s

FAILED (failures=2)

Best regards,
ProgVal

Discussion