You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I decided to spin up a custom mod of Limnoria a while ago, with custom defaults in src/conf.py. One of these includes setting reply.showsimplesyntax to True by default, but this causes many tests to fail on assertError!
Although this isn't currently an issue in stock Limnoria (showsimplesyntax is disabled by default), a config option should not cause unrelated tests to fail.
A snippet from $ supybot-test Conditional/:
FAIL: testNne (Conditional.test.ConditionalTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gl/.local/lib/python3.4/site-packages/supybot/test.py", line 154, in runTest
originalRunTest()
File "./Conditional/test.py", line 114, in testNne
self.assertError('nne 1 2 3')
File "/home/gl/.local/lib/python3.4/site-packages/supybot/test.py", line 282, in assertError
'%r did not error: %s' % (query, m.args[1]))
AssertionError: False is not true : 'nne 1 2 3' did not error: nne <item1> <item2>
----------------------------------------------------------------------
Ran 17 tests in 6.474s
FAILED (failures=7)
The text was updated successfully, but these errors were encountered:
jlu5
pushed a commit
to jlu5/Limnoria
that referenced
this issue
Jan 3, 2015
I decided to spin up a custom mod of Limnoria a while ago, with custom defaults in
src/conf.py
. One of these includes settingreply.showsimplesyntax
to True by default, but this causes many tests to fail onassertError
!Although this isn't currently an issue in stock Limnoria (
showsimplesyntax
is disabled by default), a config option should not cause unrelated tests to fail.A snippet from
$ supybot-test Conditional/
:The text was updated successfully, but these errors were encountered: