plugins/Unix: Update the tests to reflect the changes in Unix.spell responses.

This commit is contained in:
James Vega 2005-07-25 12:28:48 +00:00
parent d2dc42ede1
commit 9d99590431

View File

@ -38,8 +38,10 @@ if os.name == 'posix':
utils.findBinaryInPath('ispell') is not None:
def testSpell(self):
self.assertRegexp('spell Strike', 'correctly')
# ispell won't find any results. aspell will make some
# suggestions.
self.assertRegexp('spell z0opadfnaf83nflafl230kasdf023hflasdf',
'not find')
'not find|Possible spellings')
self.assertNotError('spell Strizzike')
self.assertError('spell foo bar baz')
self.assertError('spell -')