| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 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 |