Skip to content

Commit 48a47e1

Browse files
committed
Python: Fix broken test output.
1 parent eecace7 commit 48a47e1

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

python/ql/test/library-tests/taint/collections/TestStep.expected

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
| Taint [externally controlled string] | test.py:29 | test.py:29:9:29:25 | Subscript | | --> | Taint [externally controlled string] | test.py:32 | test.py:32:16:32:16 | c | |
2727
| Taint [externally controlled string] | test.py:30 | test.py:30:9:30:20 | tainted_list | | --> | Taint [externally controlled string] | test.py:30 | test.py:30:9:30:27 | Attribute() | |
2828
| Taint [externally controlled string] | test.py:30 | test.py:30:9:30:27 | Attribute() | | --> | Taint [externally controlled string] | test.py:32 | test.py:32:19:32:19 | d | |
29-
| Taint [externally controlled string] | test.py:31 | test.py:31:15:31:26 | tainted_list | | --> | Taint externally controlled string | test.py:32 | test.py:32:22:32:22 | e | |
30-
| Taint [externally controlled string] | test.py:31 | test.py:31:15:31:26 | tainted_list | | --> | Taint externally controlled string | test.py:32 | test.py:32:25:32:25 | f | |
31-
| Taint [externally controlled string] | test.py:31 | test.py:31:15:31:26 | tainted_list | | --> | Taint externally controlled string | test.py:32 | test.py:32:28:32:28 | g | |
3229
| Taint [externally controlled string] | test.py:33 | test.py:33:14:33:25 | tainted_list | | --> | Taint externally controlled string | test.py:33 | test.py:33:5:33:26 | For | |
3330
| Taint [externally controlled string] | test.py:35 | test.py:35:14:35:35 | reversed() | | --> | Taint externally controlled string | test.py:35 | test.py:35:5:35:36 | For | |
3431
| Taint [externally controlled string] | test.py:35 | test.py:35:23:35:34 | tainted_list | | --> | Taint [externally controlled string] | test.py:35 | test.py:35:14:35:35 | reversed() | |

python/ql/test/library-tests/taint/collections/TestTaint.expected

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
| test.py:32 | test_access | b | externally controlled string |
1111
| test.py:32 | test_access | c | [externally controlled string] |
1212
| test.py:32 | test_access | d | [externally controlled string] |
13-
| test.py:32 | test_access | e | externally controlled string |
14-
| test.py:32 | test_access | f | externally controlled string |
15-
| test.py:32 | test_access | g | externally controlled string |
13+
| test.py:32 | test_access | e | NO TAINT |
14+
| test.py:32 | test_access | f | NO TAINT |
15+
| test.py:32 | test_access | g | NO TAINT |
1616
| test.py:34 | test_access | h | externally controlled string |
1717
| test.py:36 | test_access | i | externally controlled string |
1818
| test.py:43 | test_dict_access | a | externally controlled string |

python/ql/test/library-tests/taint/namedtuple/TestTaint.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
| test.py:13 | test_basic | a | externally controlled string |
22
| test.py:13 | test_basic | b | externally controlled string |
33
| test.py:13 | test_basic | c | externally controlled string |
4-
| test.py:13 | test_basic | d | externally controlled string |
4+
| test.py:13 | test_basic | d | NO TAINT |
55
| test.py:13 | test_basic | urlsplit_res | [externally controlled string] |
66
| test.py:19 | test_sanitizer | Attribute | externally controlled string |
77
| test.py:22 | test_sanitizer | Attribute | NO TAINT |

0 commit comments

Comments
 (0)