Changed to match the new behavior of assertError.

This commit is contained in:
Jeremy Fincher 2003-10-24 11:47:00 +00:00
parent 80777b942f
commit 83c0d344bf
2 changed files with 2 additions and 4 deletions

View File

@ -58,7 +58,6 @@ class DebianTestCase(PluginTestCase, PluginDocumentation):
pass
def testDebversion(self):
self.assertNotError('version')
self.assertRegexp('version lakjdfad', r'^No package.*\(all\)')
self.assertRegexp('version unstable alkdjfad',
r'^No package.*\(unstable\)')
@ -68,7 +67,6 @@ class DebianTestCase(PluginTestCase, PluginDocumentation):
def testDebfile(self):
if not self.fileDownloaded:
pass
self.assertNotError('file')
self.assertRegexp('file --exact bin/gaim', r'net/gaim')
def testDebincoming(self):

View File

@ -73,8 +73,8 @@ if sqlite is not None:
self.assertError('whatis foo bar')
self.assertError('info foo bar')
self.assertRegexp('learn foo bar baz', '^learn') # No 'as'
self.assertRegexp('learn foo bar', '^learn') # No 'as'
self.assertError('learn foo bar baz') # No 'as'
self.assertError('learn foo bar') # No 'as'
def testSearchFactoids(self):
self.assertNotError('learn jemfinch as my primary author')