Files
codeql/python/ql/test/query-tests/Security/lib/flask/views.py
Rasmus Wriedt Larsen 8476bc7d42 Python: correctly handle flask.make_response
Fixes https://github.com/Semmle/ql/issues/1572

Adjust mock so it's more aligned with what the flask code actually does. Tests
were passing before, even though we didn't handle the case in real code :\
2019-11-11 17:24:36 +01:00

7 lines
66 B
Python

class View(object):
pass
class MethodView(object):
pass