Python: Update tests to new dataflow lib

Avoids some deprecation warnings :)
This commit is contained in:
Rasmus Wriedt Larsen
2023-12-04 11:37:48 +01:00
committed by Anders Schack-Mulligen
parent 67f0529cda
commit 4dd3ea3798
7 changed files with 19 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ import experimental.dataflow.callGraphConfig
from DataFlow::Node source, DataFlow::Node sink
where
exists(CallGraphConfig cfg | cfg.hasFlow(source, sink)) and
CallGraphFlow::flow(source, sink) and
exists(source.getLocation().getFile().getRelativePath()) and
exists(sink.getLocation().getFile().getRelativePath())
select source, sink