modified tests

This commit is contained in:
2025-04-02 22:03:30 +03:00
parent 1cd616336f
commit 55b88f7c8a
2 changed files with 9 additions and 2 deletions
+2 -2
View File
@@ -149,9 +149,9 @@ class App:
self._unknown_command_handler = handler
def set_empty_command_handler(self, handler: Callable[[str], None]) -> None:
def set_empty_command_handler(self, handler: Callable[[], None]) -> None:
args = getfullargspec(handler).args
if len(args) != 1:
if len(args) != 0:
raise IncorrectNumberOfHandlerArgsException()
else:
self._empty_input_command_handler = handler