Completed
Push — master ( a1765d...1942de )
by Andrii
13:16
created

test_normalize_repo()   A

Complexity

Conditions 3

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 3

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 3
c 1
b 0
f 0
dl 0
loc 3
ccs 3
cts 3
cp 1
crap 3
rs 10
1 1
import Rehome
2
3 1
def test_normalize_repo():
4 1
    assert '.' == Rehome.normalize_repo('.')
5 1
    assert 'https://github.com/a/b' == Rehome.normalize_repo('a/b')
6
7
8