Skip to content

Commit 2e788ea

Browse files
committed
Python: Accept deprecation warnings for old tests
1 parent 438a01e commit 2e788ea

34 files changed

+34
-0
lines changed

python/ql/test/library-tests/security/command-execution/CommandSinks.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Type CommandSink has been deprecated and may be removed in future (CommandSinks.ql:5,6-17)
12
| fabric_v1_test.py:8:7:8:28 | FabricV1Commands | externally controlled string |
23
| fabric_v1_test.py:9:5:9:27 | FabricV1Commands | externally controlled string |
34
| fabric_v1_test.py:10:6:10:38 | FabricV1Commands | externally controlled string |

python/ql/test/library-tests/security/sensitive/Sources.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Module SensitiveData has been deprecated and may be removed in future (Sources.ql:4,6-19)
12
| test.py:16:1:16:14 | test.py:16 | a call returning a password |
23
| test.py:17:1:17:12 | test.py:17 | a call returning a password |
34
| test.py:18:1:18:12 | test.py:18 | a call returning a secret |

python/ql/test/library-tests/web/bottle/HttpResponseSinks.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Type HttpResponseTaintSink has been deprecated and may be removed in future (HttpResponseSinks.ql:5,6-27)
12
| test.py:9:12:9:26 | bottle handler function result | externally controlled string |
23
| test.py:13:12:13:24 | bottle handler function result | externally controlled string |
34
| test.py:19:12:19:33 | bottle handler function result | externally controlled string |

python/ql/test/library-tests/web/bottle/HttpSources.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Type HttpRequestTaintSource has been deprecated and may be removed in future (HttpSources.ql:5,6-28)
12
| ../../../query-tests/Security/lib/bottle.py:64:11:64:24 | LocalRequest() | bottle.request |
23
| test.py:3:35:3:41 | ImportMember | bottle.request |
34
| test.py:8:11:8:14 | name | externally controlled string |

python/ql/test/library-tests/web/bottle/Routing.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Type BottleRoute has been deprecated and may be removed in future (Routing.ql:4,6-17)
12
| /args | test.py:31:1:31:14 | Function unsafe2 |
23
| /bye/<name> | test.py:12:1:12:25 | Function bye |
34
| /hello/<name> | test.py:8:1:8:27 | Function hello |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Type HttpResponseTaintSink has been deprecated and may be removed in future (HttpResponseSinks.ql:5,6-27)
12
| red.py:8:16:8:20 | cherrypy handler function result | externally controlled string |
23
| test.py:11:16:11:29 | cherrypy handler function result | externally controlled string |
34
| test.py:17:16:17:27 | cherrypy handler function result | externally controlled string |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Type HttpRequestTaintSource has been deprecated and may be removed in future (HttpSources.ql:5,6-28)
12
| ../../../query-tests/Security/lib/cherrypy/__init__.py:10:11:10:38 | _ThreadLocalProxy() | cherrypy.request |
23
| test.py:10:17:10:19 | arg | externally controlled string |
34
| test.py:16:17:16:19 | arg | externally controlled string |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
WARNING: Module Client has been deprecated and may be removed in future (ClientHttpRequests.ql:5,6-12)
12
| test.py:3:1:3:27 | ControlFlowNode for Attribute() | test.py:3:14:3:26 | ControlFlowNode for Str | GET |
23
| test.py:4:1:4:28 | ControlFlowNode for Attribute() | test.py:4:15:4:27 | ControlFlowNode for Str | POST |

python/ql/test/library-tests/web/client/six/ClientHttpRequests.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Module Client has been deprecated and may be removed in future (ClientHttpRequests.ql:5,6-12)
12
| test.py:6:5:6:32 | ControlFlowNode for Attribute() | test.py:5:27:5:39 | ControlFlowNode for Str | GET |
23
| test.py:6:5:6:32 | ControlFlowNode for Attribute() | test.py:6:25:6:31 | ControlFlowNode for Str | GET |
34
| test.py:15:5:15:33 | ControlFlowNode for Attribute() | test.py:10:28:10:40 | ControlFlowNode for Str | POST |

python/ql/test/library-tests/web/client/stdlib/ClientHttpRequests.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
WARNING: Module Client has been deprecated and may be removed in future (ClientHttpRequests.ql:5,6-12)
12
| test.py:13:5:13:32 | ControlFlowNode for Attribute() | test.py:12:27:12:39 | ControlFlowNode for Str | GET |
23
| test.py:13:5:13:32 | ControlFlowNode for Attribute() | test.py:13:25:13:31 | ControlFlowNode for Str | GET |
34
| test.py:22:5:22:33 | ControlFlowNode for Attribute() | test.py:17:28:17:40 | ControlFlowNode for Str | POST |

0 commit comments

Comments
 (0)