diff options
Diffstat (limited to 'autogpts/autogpt/tests/unit/test_logs.py')
-rw-r--r-- | autogpts/autogpt/tests/unit/test_logs.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/autogpts/autogpt/tests/unit/test_logs.py b/autogpts/autogpt/tests/unit/test_logs.py index da0a48711..1ded61f31 100644 --- a/autogpts/autogpt/tests/unit/test_logs.py +++ b/autogpts/autogpt/tests/unit/test_logs.py @@ -7,12 +7,20 @@ from autogpt.logs.utils import remove_color_codes "raw_text, clean_text", [ ( - "COMMAND = \x1b[36mbrowse_website\x1b[0m ARGUMENTS = \x1b[36m{'url': 'https://www.google.com', 'question': 'What is the capital of France?'}\x1b[0m", - "COMMAND = browse_website ARGUMENTS = {'url': 'https://www.google.com', 'question': 'What is the capital of France?'}", + "COMMAND = \x1b[36mbrowse_website\x1b[0m " + "ARGUMENTS = \x1b[36m{'url': 'https://www.google.com'," + " 'question': 'What is the capital of France?'}\x1b[0m", + "COMMAND = browse_website " + "ARGUMENTS = {'url': 'https://www.google.com'," + " 'question': 'What is the capital of France?'}", ), ( - "{'Schaue dir meine Projekte auf github () an, als auch meine Webseiten': 'https://github.com/Significant-Gravitas/AutoGPT, https://discord.gg/autogpt und https://twitter.com/Auto_GPT'}", - "{'Schaue dir meine Projekte auf github () an, als auch meine Webseiten': 'https://github.com/Significant-Gravitas/AutoGPT, https://discord.gg/autogpt und https://twitter.com/Auto_GPT'}", + "{'Schaue dir meine Projekte auf github () an, als auch meine Webseiten': " + "'https://github.com/Significant-Gravitas/AutoGPT," + " https://discord.gg/autogpt und https://twitter.com/Auto_GPT'}", + "{'Schaue dir meine Projekte auf github () an, als auch meine Webseiten': " + "'https://github.com/Significant-Gravitas/AutoGPT," + " https://discord.gg/autogpt und https://twitter.com/Auto_GPT'}", ), ("", ""), ("hello", "hello"), |