mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
style(test): fix trailing whitespace in dedup tests
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -773,9 +773,9 @@ async def test_unicode_in_block_names_and_defaults():
|
||||
import re
|
||||
|
||||
for name in names:
|
||||
assert re.fullmatch(
|
||||
r"[a-zA-Z0-9_-]+", name
|
||||
), f"Invalid chars in tool name: {name!r}"
|
||||
assert re.fullmatch(r"[a-zA-Z0-9_-]+", name), (
|
||||
f"Invalid chars in tool name: {name!r}"
|
||||
)
|
||||
|
||||
|
||||
def test_disambiguate_unicode_in_defaults_description():
|
||||
@@ -1107,4 +1107,3 @@ def test_disambiguate_preserves_non_duplicate_hardcoded_defaults_cleanup():
|
||||
|
||||
assert tools[0]["function"]["name"] == "unique_a"
|
||||
assert tools[1]["function"]["name"] == "unique_b"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user