import_tests.test_oemofdb_imports()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

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