mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed the tests to match the change in Debian command names
This commit is contained in:
parent
617b4928ef
commit
d2b993d2ec
@ -58,22 +58,21 @@ class DebianTestCase(PluginTestCase, PluginDocumentation):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def testDebversion(self):
|
def testDebversion(self):
|
||||||
self.assertNotError('debversion')
|
self.assertNotError('version')
|
||||||
self.assertRegexp('debversion lakjdfad', r'^No package.*\(all\)')
|
self.assertRegexp('version lakjdfad', r'^No package.*\(all\)')
|
||||||
self.assertRegexp('debversion unstable alkdjfad',
|
self.assertRegexp('version unstable alkdjfad',
|
||||||
r'^No package.*\(unstable\)')
|
r'^No package.*\(unstable\)')
|
||||||
self.assertRegexp('debversion gaim',
|
self.assertRegexp('version gaim', r'Total matches:.*gaim.*\(stable\)')
|
||||||
r'Total matches:.*gaim.*\(stable\)')
|
self.assertError('version unstable')
|
||||||
self.assertError('debversion unstable')
|
|
||||||
|
|
||||||
def testDebfile(self):
|
def testDebfile(self):
|
||||||
if not self.fileDownloaded:
|
if not self.fileDownloaded:
|
||||||
pass
|
pass
|
||||||
self.assertNotError('debfile')
|
self.assertNotError('file')
|
||||||
self.assertRegexp('debfile --exact bin/gaim', r'net/gaim')
|
self.assertRegexp('file --exact bin/gaim', r'net/gaim')
|
||||||
|
|
||||||
def testDebincoming(self):
|
def testDebincoming(self):
|
||||||
self.assertNotError('debincoming')
|
self.assertNotError('incoming')
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user