tests.unit.test_utils   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A test_vat() 0 3 1
1
"""utils module tests."""
2
3
from econopy.utils import deflate_vat
4
5
6
def test_vat():
7
    defl = deflate_vat(100)
8
    assert defl == 100 / 1.21
9