mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-04 09:21:12 -05:00
PkgInfo: update tests
This commit is contained in:
parent
171ef055c9
commit
ee2e2ecb2e
@ -35,9 +35,9 @@ class PkgInfoTestCase(PluginTestCase):
|
|||||||
plugins = ('PkgInfo',)
|
plugins = ('PkgInfo',)
|
||||||
def testPkgCommand(self):
|
def testPkgCommand(self):
|
||||||
self.assertRegexp('pkg sid bash', 'Package: .*?bash'
|
self.assertRegexp('pkg sid bash', 'Package: .*?bash'
|
||||||
' .*?; View more at: .*?packages.debian.org/sid/bash')
|
' .*?')
|
||||||
self.assertRegexp('pkg trusty apt', 'Package: .*?apt'
|
self.assertRegexp('pkg trusty apt', 'Package: .*?apt'
|
||||||
' .*?; View more at: .*?packages.ubuntu.com/trusty/apt')
|
' .*?')
|
||||||
self.assertError('pkg afdsfsadf asfasfasf')
|
self.assertError('pkg afdsfsadf asfasfasf')
|
||||||
self.assertRegexp('pkg sid afsadfasfsa', 'no such package', re.I)
|
self.assertRegexp('pkg sid afsadfasfsa', 'no such package', re.I)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user