mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Python: Move pyramid tests from internal repo
Use minimal mock instead of full library
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
class Response(object):
|
||||
pass
|
||||
7
python/ql/test/query-tests/Security/lib/pyramid/view.py
Normal file
7
python/ql/test/query-tests/Security/lib/pyramid/view.py
Normal file
@@ -0,0 +1,7 @@
|
||||
# https://docs.pylonsproject.org/projects/pyramid/en/1.10-branch/_modules/pyramid/view.html#view_config
|
||||
class view_config(object):
|
||||
def __init__(self, **settings):
|
||||
pass
|
||||
|
||||
def __call__(self, wrapped):
|
||||
pass
|
||||
Reference in New Issue
Block a user