mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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
|
pass
|
||||||
|
|
||||||
def testDebversion(self):
|
def testDebversion(self):
|
||||||
self.assertNotError('version')
|
|
||||||
self.assertRegexp('version lakjdfad', r'^No package.*\(all\)')
|
self.assertRegexp('version lakjdfad', r'^No package.*\(all\)')
|
||||||
self.assertRegexp('version unstable alkdjfad',
|
self.assertRegexp('version unstable alkdjfad',
|
||||||
r'^No package.*\(unstable\)')
|
r'^No package.*\(unstable\)')
|
||||||
@ -68,7 +67,6 @@ class DebianTestCase(PluginTestCase, PluginDocumentation):
|
|||||||
def testDebfile(self):
|
def testDebfile(self):
|
||||||
if not self.fileDownloaded:
|
if not self.fileDownloaded:
|
||||||
pass
|
pass
|
||||||
self.assertNotError('file')
|
|
||||||
self.assertRegexp('file --exact bin/gaim', r'net/gaim')
|
self.assertRegexp('file --exact bin/gaim', r'net/gaim')
|
||||||
|
|
||||||
def testDebincoming(self):
|
def testDebincoming(self):
|
||||||
|
@ -73,8 +73,8 @@ if sqlite is not None:
|
|||||||
self.assertError('whatis foo bar')
|
self.assertError('whatis foo bar')
|
||||||
self.assertError('info foo bar')
|
self.assertError('info foo bar')
|
||||||
|
|
||||||
self.assertRegexp('learn foo bar baz', '^learn') # No 'as'
|
self.assertError('learn foo bar baz') # No 'as'
|
||||||
self.assertRegexp('learn foo bar', '^learn') # No 'as'
|
self.assertError('learn foo bar') # No 'as'
|
||||||
|
|
||||||
def testSearchFactoids(self):
|
def testSearchFactoids(self):
|
||||||
self.assertNotError('learn jemfinch as my primary author')
|
self.assertNotError('learn jemfinch as my primary author')
|
||||||
|
Loading…
Reference in New Issue
Block a user