Transactions table (#7)
Tests / test (push) Successful in 10s
Tests / lint (push) Successful in 10s

Reviewed-on: #7
Co-authored-by: Mathias <mathias2784@web.de>
This commit was merged in pull request #7.
This commit is contained in:
2026-10-10 20:47:51 +00:00
committed by mathias2784
parent fdc66037ce
commit 6d98939024
17 changed files with 729 additions and 67 deletions
+11
View File
@@ -7,6 +7,7 @@ from polyfactory.fields import Use
from src.models.b4w import B4wExport
from src.models.comdirect import ComdirectCreditCard, ComdirectDepot, ComdirectGiro
from src.models.transactions import Transaction
DEFAULT_CATEGORY = "root_category:parent_category:leaf_category"
@@ -98,3 +99,13 @@ class ComdirectDepotFactory(ModelFactory[ComdirectDepot]):
date_val = Use(_german_date)
num = Use(_amount_eur)
spot_price = Use(_amount_eur)
class TransactionFactory(ModelFactory[Transaction]):
__faker__ = Faker("de_DE")
__use_examples__ = True
account_iban = Use(_iban)
text = Use(_sentence)
other_name = Use(_names)
other_iban = Use(_iban_or_none)