mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
starting refactor tests
This commit is contained in:
+4
-5
@@ -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)
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user