Passed
Push — master ( 0bc911...dd3d6b )
by Mingyu
52s
created

tests   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A BaseTestCase.setUp() 0 3 1
1
from unittest import TestCase
2
3
from app import create_app
4
from config.app_config import LocalLevelConfig
5
from config.db_config import LocalDBConfig
6
7
8
class BaseTestCase(TestCase):
9
    def setUp(self):
10
        self.app = create_app(LocalLevelConfig, LocalDBConfig)
11
        self.client = self.app.test_client()
12