Python: Move dataflow TestUtil to importable location

This commit is contained in:
Rasmus Wriedt Larsen
2024-04-19 10:47:25 +02:00
parent e0e405bb31
commit bb00d6919a
35 changed files with 28 additions and 28 deletions

View File

@@ -0,0 +1,13 @@
import python
import semmle.python.dataflow.new.DataFlow
import FlowTest
module LocalFlowStepTest implements FlowTestSig {
string flowTag() { result = "step" }
predicate relevantFlow(DataFlow::Node fromNode, DataFlow::Node toNode) {
DataFlow::localFlowStep(fromNode, toNode)
}
}
import MakeTest<MakeTestSig<LocalFlowStepTest>>