File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99- Add a clear truncation note telling user how to get full output
1010- Be disabled by --verbose and --budget 0
1111"""
12- import pytest
1312from pathlib import Path
1413from typer .testing import CliRunner
1514
@@ -80,7 +79,7 @@ def test_project_structure_cut_first(self):
8079 assert "## Frontend" in result
8180 assert "## Architecture" in result
8281 # Project Structure should be cut or heavily truncated
83- project_lines = [l for l in result .splitlines () if "big tree" in l ]
82+ project_lines = [line for line in result .splitlines () if "big tree" in line ]
8483 assert len (project_lines ) < 30 , "Project Structure should be cut under budget"
8584
8685 def test_tribal_knowledge_always_preserved (self ):
Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ def test_no_list_set_in_extractor_source(self):
116116 list(set(...)) produces non-deterministic iteration order due to Python
117117 hash randomization. Always use sorted(set(...)) instead.
118118 """
119- import ast
120119 from pathlib import Path
121120
122121 source = (Path (__file__ ).parent .parent / "saar" / "extractor.py" ).read_text ()
You can’t perform that action at this time.
0 commit comments