Completed
Push — master ( c1a54b...b66741 )
by Francisco Manzano
15:18 queued 06:57
created

tests.unit.test_utils   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A test_vat() 0 4 1
1
"""utils module tests."""
2
3
4
def test_vat():
0 ignored issues
show
Coding Style introduced by
This function should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
5
    from econopy.utils import deflate_vat
6
    defl = deflate_vat(100)
7
    assert defl == 100 / 1.21
8