diff --git a/test/test_MoobotFactoids.py b/test/test_MoobotFactoids.py index 60bc9cfc2..cb4b39e58 100644 --- a/test/test_MoobotFactoids.py +++ b/test/test_MoobotFactoids.py @@ -51,6 +51,16 @@ if sqlite is not None: self.assertRegexp('literal moo', 'foo') self.assertNotError('moo2 is moo!') self.assertRegexp('literal moo2', 'moo!') + self.assertNotError('moo3 is foo') + self.assertRegexp('literal moo3', 'foo') + + def testGetFactoid(self): + self.assertNotError('moo is foo') + self.assertRegexp('moo', 'foo') + self.assertNotError('moo2 is moo!') + self.assertRegexp('moo2', 'moo2 is moo!') + self.assertNotError('moo3 is foo') + self.assertAction('moo3', 'foo') # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: