import_tests   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 2

2 Functions

Rating   Name   Duplication   Size   Complexity  
A test_oemofdb_imports() 0 4 1
A test_that_oemof_is_importable() 0 2 1
1
from nose.tools import ok_
2
3
import oemof
4
import oemof.db as oemofdb
5
6
7
def test_that_oemof_is_importable():
8
    ok_(oemof.__version__)
9
10
11
def test_oemofdb_imports():
12
    ok_(oemofdb.connection)
13
    ok_(oemofdb.engine)
14
    ok_(oemofdb.url)
15