MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / test_basic_ast

Function test_basic_ast

tests/test_py_analyzer.py:10–17  ·  view source on GitHub ↗
(fixtures)

Source from the content-addressed store, hash-verified

8
9
10def test_basic_ast(fixtures):
11 pth = fixtures.path('basic_ast.py')
12
13 with Path(pth).open('r') as fd:
14 data = fixtures.get_raw_ast(fd.read())
15
16 assert isinstance(data, list)
17 assert len(data) == 9 # Top level lines with python code
18
19
20def test_py2k(fixtures):

Callers

nothing calls this directly

Calls 3

pathMethod · 0.80
get_raw_astMethod · 0.80
readMethod · 0.80

Tested by

no test coverage detected