mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Changed to match the new behavior of assertError.
This commit is contained in:
parent
80777b942f
commit
83c0d344bf
@ -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):
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user