(self)
| 48 | self.assertEqual(channel.data, self.expected_data) |
| 49 | |
| 50 | def test_url_reflection(self): |
| 51 | |
| 52 | channel = Channel({ |
| 53 | 'url' : 'http://127.0.0.1:15001/url/mako/AA*AA', |
| 54 | 'force_level': [ 0, 0 ], |
| 55 | 'injection_tag': '*', |
| 56 | 'technique': 'R' |
| 57 | |
| 58 | }) |
| 59 | |
| 60 | detect_template_injection(channel, [ Mako ]) |
| 61 | del channel.data['os'] |
| 62 | self.assertEqual(channel.data, self.expected_data) |
| 63 | |
| 64 | def test_header_reflection(self): |
| 65 |
nothing calls this directly
no test coverage detected