Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix test listing

SwiftyOSaf7c5e029118
diff --git a/cli.py b/cli.py
index 931fc2f153..e2a05344a7 100644
--- a/cli.py
+++ b/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"))