From 56219157290495bf58b05a060a2d2afedea735ad Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 7 Sep 2024 20:44:28 +0200 Subject: Fix old usage of name "income" This was renamed to "flow". --- finance/test_flow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/finance/test_flow.py b/finance/test_flow.py index 02b225c..497c8d7 100644 --- a/finance/test_flow.py +++ b/finance/test_flow.py @@ -4,8 +4,8 @@ from decimal import Decimal from finance import flow -def test_income_integration() -> None: - inc = flow.Flow( +def test_flow_integration() -> None: + fl = flow.Flow( amount=Decimal(3000.0), since=datetime(2023, 1, 1), until=datetime(2026, 1, 5), @@ -25,4 +25,4 @@ def test_income_integration() -> None: ) for test in tests: - assert inc.integrate(start=test[0], end=test[1]) == test[2] + assert fl.integrate(start=test[0], end=test[1]) == test[2] -- cgit v1.2.3-70-g09d2