()
| 121 | |
| 122 | |
| 123 | def 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 | |
| 135 | def test_subscript_propagation(): |
nothing calls this directly
no test coverage detected