mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
new tests, upgrade tests coverage
This commit is contained in:
+4
-14
@@ -1,15 +1,5 @@
|
||||
from argenta import App, Router, Command, Response
|
||||
from argenta import App
|
||||
|
||||
|
||||
app = App(override_system_messages=True)
|
||||
router = Router()
|
||||
|
||||
@router.command(Command('test', aliases={'alias', 'primer'}))
|
||||
def handler(res: Response):
|
||||
pass
|
||||
|
||||
@router.command(Command('test2', aliases={'alias', 'primer'}))
|
||||
def handler2(res: Response):
|
||||
pass
|
||||
|
||||
print(router.aliases)
|
||||
app = App()
|
||||
app._setup_default_view()
|
||||
app._empty_input_command_handler()
|
||||
Reference in New Issue
Block a user