Esempio n. 1
0
def test_expense_line(simple_type):
    compute = ExpenseLineCompute()
    compute.type_object = simple_type
    assert compute._compute_value(99.53) == 100
Esempio n. 2
0
def test_expense_line_compute(teltype):
    compute = ExpenseLineCompute()
    compute.type_object = teltype
    assert compute._compute_value(99.53) == 50