mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-09 19:52:37 +01:00
Test for fix for bug #1092462
This commit is contained in:
parent
bbedf5c2d4
commit
41103b1fa7
@ -37,7 +37,7 @@ class WordsTestCase(ChannelPluginTestCase, PluginDocumentation):
|
|||||||
PluginTestCase.setUp(self)
|
PluginTestCase.setUp(self)
|
||||||
# Add some words to for us to use
|
# Add some words to for us to use
|
||||||
fd = file('%s/words' % conf.supybot.directories.data(), 'w')
|
fd = file('%s/words' % conf.supybot.directories.data(), 'w')
|
||||||
fd.writelines(['hello'])
|
fd.writelines(['hello again'])
|
||||||
fd.close()
|
fd.close()
|
||||||
|
|
||||||
# Putting in a comment to make this different.
|
# Putting in a comment to make this different.
|
||||||
@ -51,7 +51,7 @@ class WordsTestCase(ChannelPluginTestCase, PluginDocumentation):
|
|||||||
self.assertError('guess j')
|
self.assertError('guess j')
|
||||||
self.assertError('letters')
|
self.assertError('letters')
|
||||||
self.assertNotError('hangman')
|
self.assertNotError('hangman')
|
||||||
self.assertNotError('guess hello')
|
self.assertNotError('guess hello again')
|
||||||
self.assertNotError('hangman')
|
self.assertNotError('hangman')
|
||||||
self.assertNotError('guess j')
|
self.assertNotError('guess j')
|
||||||
self.assertNotError('g')
|
self.assertNotError('g')
|
||||||
|
Loading…
Reference in New Issue
Block a user