nameless.tests.test_cli   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 6
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A test_main() 0 2 1
1
import subprocess
2
3
4
def test_main():
5
    assert subprocess.check_output(["nameless", "foo", "foobar"], text=True) == "foobar\n"
6