tests.unit.test_import   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A test_import() 0 7 2
1
"""Base library tests."""
2
3
4
def test_import():
5
    """Test basic import."""
6
    import importlib
7
    try:
8
        importlib.import_module('econopy')
9
    except ImportError:
10
        assert False
11