mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
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 :\
7 lines
87 B
Python
7 lines
87 B
Python
|
|
class LocalProxy(object):
|
|
pass
|
|
|
|
request = LocalProxy()
|
|
current_app = LocalProxy()
|