mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Fix in a test.
This commit is contained in:
parent
2ae2c16171
commit
407952f5a0
@ -50,10 +50,12 @@ class FilterTest(ChannelPluginTestCase, PluginDocumentation):
|
|||||||
self.assertNotError('disable rot13')
|
self.assertNotError('disable rot13')
|
||||||
self.assertError('outfilter rot13')
|
self.assertError('outfilter rot13')
|
||||||
self.assertNotError('enable rot13')
|
self.assertNotError('enable rot13')
|
||||||
self.assertNotError('disable notAPlugin rot13')
|
|
||||||
self.assertNotError('outfilter rot13')
|
self.assertNotError('outfilter rot13')
|
||||||
finally:
|
finally:
|
||||||
|
try:
|
||||||
callbacks.Privmsg._disabled.remove('rot13')
|
callbacks.Privmsg._disabled.remove('rot13')
|
||||||
|
except KeyError:
|
||||||
|
pass
|
||||||
|
|
||||||
def testHebrew(self):
|
def testHebrew(self):
|
||||||
self.assertResponse('hebrew The quick brown fox '
|
self.assertResponse('hebrew The quick brown fox '
|
||||||
|
Loading…
Reference in New Issue
Block a user