Total Complexity | 1 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | from fastest.code_assets.function import get_functions |
||
2 | import unittest |
||
3 | |||
4 | class Testfunctionget_functions(unittest.TestCase): |
||
5 | def test__get_functions__EC05C50716(self): |
||
6 | page = 'def f(): return 1' |
||
7 | |||
8 | |||
9 | self.assertEqual(get_functions(page), [{'name': 'f', 'tests': None}]) |
||
10 | |||
11 |