Python: Rename prints tag to flow

The former was a remnant of copying the setup over from
`ql/test/experimental/import-resolution/importflow.ql`.
This commit is contained in:
Taus
2026-03-16 12:37:00 +00:00
parent 3ee369b710
commit e70727524a
2 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
def process(value):
sink(value) #$ prints=source
sink(value) #$ flow=source

View File

@@ -19,12 +19,12 @@ private module TestConfig implements DataFlow::ConfigSig {
private module TestFlow = TaintTracking::Global<TestConfig>;
module FlowTest implements TestSig {
string getARelevantTag() { result = "prints" }
string getARelevantTag() { result = "flow" }
predicate hasActualResult(Location location, string element, string tag, string value) {
exists(DataFlow::Node sink |
TestFlow::flow(_, sink) and
tag = "prints" and
tag = "flow" and
location = sink.getLocation() and
value = "source" and
element = sink.toString()