Refactor testing

This commit is contained in:
2022-05-07 01:33:35 +02:00
parent 3b214773ff
commit df757fefcd
20 changed files with 92 additions and 63 deletions

View File

@@ -10,13 +10,13 @@ If no argument is set, displays the datasets and its characteristics
"""
def main():
def main(args_test=None):
arguments = Arguments()
arguments.xset("file").xset("excel").xset("sql").xset("compare")
arguments.xset("best").xset("grid").xset("model", required=False).xset(
"score"
)
args = arguments.parse()
args = arguments.parse(args_test)
if args.grid:
args.best = False
if args.file is None and args.best is None: