From 7f562e15c9ecded256a2d63ffc2d2115b8277df7 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 1 Aug 2013 12:06:54 +0200 Subject: [PATCH] Aka: Fix conflict of test cases of they are run after Alias' tests. --- plugins/Aka/test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/Aka/test.py b/plugins/Aka/test.py index 844004e60..a6f2d2c62 100644 --- a/plugins/Aka/test.py +++ b/plugins/Aka/test.py @@ -164,12 +164,12 @@ class AkaTestCase(PluginTestCase): self.assertNotError('register evil_admin foo') self.assertNotError('aka add slashdot foo') - self.assertRegexp('help slashdot', "Alias for .*foo") - self.assertNotRegexp('help slashdot', 'Locked by') + self.assertRegexp('help aka slashdot', "Alias for .*foo") + self.assertNotRegexp('help aka slashdot', 'Locked by') 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.assertNotRegexp('help slashdot', 'Locked by') + self.assertNotRegexp('help aka slashdot', 'Locked by') def testAliasImport(self): self.assertNotError('alias add foo "echo bar"')