starting refactor tests

This commit is contained in:
2025-05-04 16:40:10 +03:00
parent adf3431388
commit 477f3a7dec
8 changed files with 57 additions and 49 deletions
+4 -5
View File
@@ -13,10 +13,9 @@ from argenta.orchestrator import Orchestrator
from argenta.command.models import InputCommand
import inspect
def some():
ellipsis
global inspect
pass
inv = InvalidValueInputFlags(InputFlag('test'))
inve = InvalidValueInputFlags(InputFlag('test'))
print(inspect.getsourcelines(some))
print(inv == inve)
+2 -2
View File
@@ -13,7 +13,7 @@ console = Console()
@work_router.command(Command('get', 'Get Help', aliases=['help', 'Get_help'], flags=Flags(PredefinedFlags.PORT, PredefinedFlags.HOST)))
def command_help(response: int):
def command_help(response: Response):
print(response.status)
print(response.undefined_flags.get_flags())
print(response.valid_flags.get_flags())
@@ -21,7 +21,7 @@ def command_help(response: int):
@work_router.command(Command('run', 'Run All'))
def command_start_solving(response: str):
def command_start_solving(response: Response):
print(response.status)
print(response.undefined_flags.get_flags())
print(response.valid_flags.get_flags())