mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Python tests: Move security test stubs to correct location.
This commit is contained in:
2
python/ql/test/query-tests/Security/lib/base64.py
Normal file
2
python/ql/test/query-tests/Security/lib/base64.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def decodestring(s):
|
||||
return None
|
||||
2
python/ql/test/query-tests/Security/lib/marshall.py
Normal file
2
python/ql/test/query-tests/Security/lib/marshall.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def loads(*args, **kwargs):
|
||||
return None
|
||||
2
python/ql/test/query-tests/Security/lib/os/__init__.py
Normal file
2
python/ql/test/query-tests/Security/lib/os/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def system(cmd, *args, **kwargs):
|
||||
return None
|
||||
5
python/ql/test/query-tests/Security/lib/os/path.py
Normal file
5
python/ql/test/query-tests/Security/lib/os/path.py
Normal file
@@ -0,0 +1,5 @@
|
||||
def join(a, *b):
|
||||
return a + "/" + "/".join(b)
|
||||
|
||||
def normpath(x):
|
||||
return x
|
||||
2
python/ql/test/query-tests/Security/lib/pickle.py
Normal file
2
python/ql/test/query-tests/Security/lib/pickle.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def loads(*args, **kwargs):
|
||||
return None
|
||||
2
python/ql/test/query-tests/Security/lib/subprocess.py
Normal file
2
python/ql/test/query-tests/Security/lib/subprocess.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def Popen(*args, **kwargs):
|
||||
return None
|
||||
2
python/ql/test/query-tests/Security/lib/traceback.py
Normal file
2
python/ql/test/query-tests/Security/lib/traceback.py
Normal file
@@ -0,0 +1,2 @@
|
||||
def format_exc():
|
||||
return None
|
||||
Reference in New Issue
Block a user