PkgInfo: fix tests

(cherry picked from commit 757949869233386502f809672a1d7470664a4bfe)
This commit is contained in:
James Lu 2017-09-01 18:12:04 -07:00
parent 21cbeaafb1
commit 9ffffb538f

View File

@ -43,7 +43,7 @@ class PkgInfoTestCase(PluginTestCase):
self.assertNotError('pkg sid bash --depends')
self.assertNotError('pkg sid vlc --source --depends')
self.assertError('pkg afdsfsadf asfasfasf')
self.assertRegexp('pkg sid afsadfasfsa', 'no such package', re.I)
self.assertError('pkg sid afsadfasfsa')
def testVlist(self):
self.assertError('vlist all afdsafas')
@ -91,4 +91,5 @@ class PkgInfoTestCase(PluginTestCase):
self.assertRegexp('freebsd lxterminal --exact', 'Found 1 result:.*?LXDE')
self.assertNotError('freebsd bash')
self.assertError('freebsd asdfasjkfalewrghaekglae')
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: