* Updating MoobotFactoids tests to include more tests (testGetFactoid)

This commit is contained in:
Daniel DiPaolo 2003-10-14 15:17:08 +00:00
parent cabfab3d0c
commit 27796b01a3
1 changed files with 10 additions and 0 deletions

View File

@ -51,6 +51,16 @@ if sqlite is not None:
self.assertRegexp('literal moo', '<reply>foo')
self.assertNotError('moo2 is moo!')
self.assertRegexp('literal moo2', 'moo!')
self.assertNotError('moo3 is <action>foo')
self.assertRegexp('literal moo3', '<action>foo')
def testGetFactoid(self):
self.assertNotError('moo is <reply>foo')
self.assertRegexp('moo', 'foo')
self.assertNotError('moo2 is moo!')
self.assertRegexp('moo2', 'moo2 is moo!')
self.assertNotError('moo3 is <action>foo')
self.assertAction('moo3', 'foo')
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: