Python: Add testfiles

This commit is contained in:
Rasmus Lerchedahl Petersen
2020-08-13 15:43:40 +02:00
parent fc84286b56
commit f5244aab8c
14 changed files with 680 additions and 655 deletions

View File

@@ -21,7 +21,7 @@ class ArgumentRoutingConfig extends DataFlow::Configuration {
from DataFlow::Node source, DataFlow::Node sink
where
source.getLocation().getFile().getBaseName() = "classes.py" and
sink.getLocation().getFile().getBaseName() = "classes.py" and
source.getLocation().getFile().getBaseName() in ["classes.py", "argumentPassing.py"] and
sink.getLocation().getFile().getBaseName() in ["classes.py", "argumentPassing.py"] and
exists(ArgumentRoutingConfig cfg | cfg.hasFlow(source, sink))
select source, sink