MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeText-parser / Test_Utils

Class Test_Utils

tests/test_utils/test_utils.py:5–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4
5class Test_Utils(unittest.TestCase):
6 def test_build_language(self):
7 langs = ['python', 'rust']
8 for l in langs:
9 # clear it later
10 build_language(language=l)
11
12 def test_parse_code(self):
13 sample = """
14 def sum_2_num(a, b):
15 return a + b
16 """
17 parse_code(sample, 'python')
18
19
20if __name__ == '__main__':

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected