From 0d5f8ab05b9f971edb1591e3d80d6972732430fe Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 18 Jul 2014 20:55:12 +0200 Subject: [PATCH] Owner: Remove side-effect of renaming test. --- plugins/Owner/test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/Owner/test.py b/plugins/Owner/test.py index 0fd1d5705..9bfe111bf 100644 --- a/plugins/Owner/test.py +++ b/plugins/Owner/test.py @@ -99,6 +99,8 @@ class OwnerTestCase(PluginTestCase): self.assertRegexp('help testcommand', 'Tell the bot to join') self.assertRegexp('join', 'not a valid command') self.assertHelp('testcommand') + self.assertNotError('unrename Admin') + self.assertNotRegexp('list Admin', 'testcommand') @skip('Nested commands cannot be renamed yet.') def testRenameNested(self):