Skip to content

Commit ea3ea65

Browse files
Refactor trae configuration test for clarity
1 parent 55d4a44 commit ea3ea65

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

tests/test_agent_config_consistency.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,9 @@ def test_trae_in_extension_registrar(self):
248248
"""Extension command registrar should include trae using .trae/rules and markdown, if present."""
249249
cfg = CommandRegistrar.AGENT_CONFIGS
250250

251-
trae_cfg = cfg.get("trae")
252-
if trae_cfg is None:
253-
# Trae is not yet wired into the extension registrar; tolerate absence for now.
254-
return
255-
251+
assert "trae" in cfg
252+
trae_cfg = cfg["trae"]
253+
256254
assert trae_cfg["dir"] == ".trae/rules"
257255
assert trae_cfg["format"] == "markdown"
258256
assert trae_cfg["args"] == "$ARGUMENTS"

0 commit comments

Comments
 (0)