From 9f9d58bedc5dc150a0957491970d5aa6770caa96 Mon Sep 17 00:00:00 2001 From: Chiizujin Date: Sun, 31 Mar 2024 02:27:30 +1100 Subject: [PATCH] Add unit test for sethelp/category --- evennia/commands/default/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/evennia/commands/default/tests.py b/evennia/commands/default/tests.py index 8977c890d3..3a272e04f7 100644 --- a/evennia/commands/default/tests.py +++ b/evennia/commands/default/tests.py @@ -197,6 +197,12 @@ class TestHelp(BaseEvenniaCommandTest): cmdset=CharacterCmdSet(), ) self.call(help_module.CmdHelp(), "testhelp", "Help for testhelp", cmdset=CharacterCmdSet()) + self.call( + help_module.CmdSetHelp(), + "/category testhelp = misc", + "Category for entry 'testhelp' changed to 'misc'.", + cmdset=CharacterCmdSet(), + ) @parameterized.expand( [