mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Python: Add copy of extractor tests
These get to live next to the existing library and query tests, and are run as part of both the Python 2 and Python 3 language tests.
This commit is contained in:
1
python/ql/test/extractor-tests/just_folder/options
Normal file
1
python/ql/test/extractor-tests/just_folder/options
Normal file
@@ -0,0 +1 @@
|
||||
semmle-extractor-options: test
|
||||
2
python/ql/test/extractor-tests/just_folder/test.expected
Normal file
2
python/ql/test/extractor-tests/just_folder/test.expected
Normal file
@@ -0,0 +1,2 @@
|
||||
| test | test |
|
||||
| test.__init__ | test/__init__.py |
|
||||
4
python/ql/test/extractor-tests/just_folder/test.ql
Normal file
4
python/ql/test/extractor-tests/just_folder/test.ql
Normal file
@@ -0,0 +1,4 @@
|
||||
import python
|
||||
|
||||
from Module m
|
||||
select m.getName(), m.getPath().toString()
|
||||
Reference in New Issue
Block a user