(self)
| 9 | |
| 10 | class Test_PythonParser(unittest.TestCase): |
| 11 | def setUp(self) -> None: |
| 12 | with open('tests/test_parser/test_sample/py_test_sample.py', 'r') as file: |
| 13 | self.code_sample = file.read() |
| 14 | |
| 15 | tree = parse_code(self.code_sample, 'python') |
| 16 | self.root_node = tree.root_node |
| 17 | return super().setUp() |
| 18 | |
| 19 | def test_get_function_list(self): |
| 20 | root = self.root_node |
nothing calls this directly
no test coverage detected