| 3 | |
| 4 | |
| 5 | class 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 | |
| 20 | if __name__ == '__main__': |
nothing calls this directly
no outgoing calls
no test coverage detected