mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
19 lines
453 B
Python
19 lines
453 B
Python
|
|
import sys
|
|
import os.path
|
|
import shutil
|
|
import unittest
|
|
|
|
import semmle.populator
|
|
from tests import test_utils
|
|
|
|
class DotPyPathTest(test_utils.ExtractorTest):
|
|
|
|
def __init__(self, name):
|
|
super(DotPyPathTest, self).__init__(name)
|
|
|
|
def test_dot_py(self):
|
|
dot_py = os.path.abspath(os.path.join(self.here, "dot-py"))
|
|
self.run_extractor("-R", dot_py, "-p", dot_py)
|
|
self.check_only_traps_exists_and_clear('__init__', 'a')
|