def it_does_not_increase_inflation_if_expenses_lowered():
     cov = Covenant()
     cov.inflation = 5
     assert cov.calculate_inflation(300, 150) == 5
 def it_correctly_calculates_inflation():
     cov = Covenant()
     cov.inflation = 0
     assert cov.calculate_inflation(100, 200) == 2