Passed
Pull Request — master (#9)
by Amresh
01:29
created

Testfunctionget_functions.test__get_functions__EC05C50716()   A

Complexity

Conditions 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nop 1
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