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
# -*- coding: utf-8 -
2
3
"""Tests of the component module.
4
5
SPDX-License-Identifier: MIT
6
"""
7
8
import oemof
9
10
import oemof.db.connect as oemofdb
11
12
13
def test_that_oemof_is_importable():
14
    assert oemof.db.__version__
15
16
17
def test_oemofdb_imports():
18
    assert oemofdb.connection
19
    assert oemofdb.engine
20
    assert oemofdb.url
21