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

Function test_attribute_propagation

tests/test_taint.py:123–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122
123def test_attribute_propagation():
124 src = """
125 x = c()
126 x.y
127 """
128 p = "c()"
129 node = process_taint(src, p)
130 assert isinstance(node, Attribute)
131 assert node.full_name == "c.y"
132 assert node._taint_class == Taints.TAINTED
133
134
135def test_subscript_propagation():

Callers

nothing calls this directly

Calls 1

process_taintFunction · 0.85

Tested by

no test coverage detected