Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9da6da6

Browse files
committed
Python: Fix imports in shraed dataflow tests
1 parent 909bff2 commit 9da6da6

8 files changed

Lines changed: 8 additions & 0 deletions

File tree

python/ql/test/experimental/dataflow/callGraphConfig.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
private import python
12
import experimental.dataflow.DataFlow
23

34
/**

python/ql/test/experimental/dataflow/coverage/argumentRouting1.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import python
12
import experimental.dataflow.DataFlow
23

34
/**

python/ql/test/experimental/dataflow/coverage/argumentRouting2.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import python
12
import experimental.dataflow.DataFlow
23

34
/**

python/ql/test/experimental/dataflow/coverage/argumentRouting3.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import python
12
import experimental.dataflow.DataFlow
23

34
/**

python/ql/test/experimental/dataflow/coverage/argumentRouting4.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import python
12
import experimental.dataflow.DataFlow
23

34
/**

python/ql/test/experimental/dataflow/coverage/dataflow.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* @kind path-problem
33
*/
44

5+
import python
56
import experimental.dataflow.testConfig
67
import DataFlow::PathGraph
78

python/ql/test/experimental/dataflow/regression/dataflow.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* hope to remove the false positive.
66
*/
77

8+
import python
89
import experimental.dataflow.testConfig
910

1011
from DataFlow::Node source, DataFlow::Node sink

python/ql/test/experimental/dataflow/testConfig.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* complex | `42j` (not supported yet)
2121
*/
2222

23+
private import python
2324
import experimental.dataflow.DataFlow
2425

2526
class TestConfiguration extends DataFlow::Configuration {

0 commit comments

Comments
 (0)