Passed
Pull Request — master (#18)
by Amresh
01:26
created

test.test__function   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 9
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A TestFunctionGetFunctions.test__get_functions__34137EFE12() 0 5 1
1
from fastest.code_assets.function import get_functions
2
from fastest.constants import TestBodies
3
import unittest
4
5
6
class TestFunctionGetFunctions(unittest.TestCase):
7
    def test__get_functions__34137EFE12(self):
8
        self.assertIsInstance(get_functions(''), list)
9
        page = TestBodies.GET_FUNCTIONS_TEST_CASE_1
10
11
        self.assertEqual(get_functions(page), TestBodies.GET_FUNCTIONS_TEST_CASE_1_EXPECT)
12