diff --git a/test/test_Debian.py b/test/test_Debian.py index 3fcc6dc7e..c5ade0212 100644 --- a/test/test_Debian.py +++ b/test/test_Debian.py @@ -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): diff --git a/test/test_Factoids.py b/test/test_Factoids.py index e76897378..e7ca071a1 100644 --- a/test/test_Factoids.py +++ b/test/test_Factoids.py @@ -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')