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

Function test_call_rename

tests/test_ast_rewrite.py:33–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32
33def test_call_rename():
34 src = """
35 x = print
36 print("Hello world")
37 """
38 tree = process_source_code(src)
39 assert isinstance(tree, Call)
40 assert tree.full_name == "print"
41
42
43def test_replace_string():

Callers

nothing calls this directly

Calls 1

process_source_codeFunction · 0.85

Tested by

no test coverage detected