mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +01:00
Fix test listing
This commit is contained in:
4
cli.py
4
cli.py
@@ -459,11 +459,11 @@ def benchmark_tests_list():
|
||||
test_name = (
|
||||
" ".join(word for word in re.split("([A-Z][a-z]*)", test) if word)
|
||||
.replace("_", "")
|
||||
.replace("C L I", "CLI")[5:]
|
||||
.replace("C L I", "CLI")
|
||||
.replace(" ", " ")
|
||||
)
|
||||
test_name_padded = f"{test_name:<40}"
|
||||
click.echo(click.style(f"\t\t🔬 {test_name_padded} - {test}", fg="cyan"))
|
||||
click.echo(click.style(f"\t\t🔬 {test_name_padded} - Test{test}", fg="cyan"))
|
||||
else:
|
||||
click.echo(click.style("No tests found 😞", fg="red"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user