--- a/test.py Fri Oct 19 01:27:03 2018 +0800
+++ b/test.py Fri Oct 19 01:30:42 2018 +0800
+ self.assertRegexp('hghelp verify', '.*verify the integrity.*')
self.assertNotError('hghelp foo')
+ self.assertHelp('hghelp')
+ self.assertRegexp('bts url', 'https?://.*')
- self.assertNotError('glossary foo')
- m = self.getMsg('glossary foo')
- self.assertError('glossary foo')
+ self.assertResponse('glossary cset',
+ 'A common abbreviation of the term changeset.')
+ self.assertResponse('glossary foo', 'no match found')
+ self.assertHelp('glossary')
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: