mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-10 12:59:22 +01:00
Aka: Fix conflict of test cases of they are run after Alias' tests.
This commit is contained in:
parent
7c30936ee1
commit
7f562e15c9
@ -164,12 +164,12 @@ class AkaTestCase(PluginTestCase):
|
|||||||
self.assertNotError('register evil_admin foo')
|
self.assertNotError('register evil_admin foo')
|
||||||
|
|
||||||
self.assertNotError('aka add slashdot foo')
|
self.assertNotError('aka add slashdot foo')
|
||||||
self.assertRegexp('help slashdot', "Alias for .*foo")
|
self.assertRegexp('help aka slashdot', "Alias for .*foo")
|
||||||
self.assertNotRegexp('help slashdot', 'Locked by')
|
self.assertNotRegexp('help aka slashdot', 'Locked by')
|
||||||
self.assertNotError('aka lock slashdot')
|
self.assertNotError('aka lock slashdot')
|
||||||
self.assertRegexp('help slashdot', 'Locked by evil_admin')
|
self.assertRegexp('help aka slashdot', 'Locked by evil_admin')
|
||||||
self.assertNotError('aka unlock slashdot')
|
self.assertNotError('aka unlock slashdot')
|
||||||
self.assertNotRegexp('help slashdot', 'Locked by')
|
self.assertNotRegexp('help aka slashdot', 'Locked by')
|
||||||
|
|
||||||
def testAliasImport(self):
|
def testAliasImport(self):
|
||||||
self.assertNotError('alias add foo "echo bar"')
|
self.assertNotError('alias add foo "echo bar"')
|
||||||
|
Loading…
Reference in New Issue
Block a user