summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-09-07 20:44:28 +0200
committerxengineering <me@xengineering.eu>2024-09-08 17:21:32 +0200
commit56219157290495bf58b05a060a2d2afedea735ad (patch)
tree4bd6ba1e44c54a473c320f4c7f4ef5b4c90e98cf
parent36936455e7805f824cb07fe9b23500a882426f98 (diff)
downloadfinance-py-56219157290495bf58b05a060a2d2afedea735ad.tar
finance-py-56219157290495bf58b05a060a2d2afedea735ad.tar.zst
finance-py-56219157290495bf58b05a060a2d2afedea735ad.zip
Fix old usage of name "income"
This was renamed to "flow".
-rw-r--r--finance/test_flow.py6
1 files 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]