last steps work on new docs, full complete write docstring for all objects

This commit is contained in:
2025-04-23 20:54:03 +03:00
parent 7281fdeabf
commit 036c17ec9a
17 changed files with 1496 additions and 78 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
from argenta.router import Router
from argenta.command import Command
from argenta.router.exceptions import TriggerCannotContainSpacesException
from argenta.router.exceptions import TriggerContainSpacesException
import unittest
@@ -14,7 +14,7 @@ class TestRouter(unittest.TestCase):
def test_register_command_with_spaces_in_trigger(self):
router = Router()
with self.assertRaises(TriggerCannotContainSpacesException):
with self.assertRaises(TriggerContainSpacesException):
@router.command(Command(trigger='command with spaces'))
def test():
return 'correct result'