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

tests.unit.test_utils.test_vat()   A

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
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