tests.test_input.test_ask_input()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 3
nop 0
dl 0
loc 3
ccs 3
cts 3
cp 1
crap 1
rs 10
c 0
b 0
f 0
1 1
from music_album_creation.dialogs import ask_input
2
3
4 1
def test_ask_input():
5 1
    assert hasattr(ask_input, '_input')
6
    assert type(ask_input._input).__name__ == 'builtin_function_or_method'
7