budget/tests/mocks/categories.py
Luís Murta b9b38db99a
[Refactor] Creates Transform interface
Moves categorizer into transform module.
Puts the categorizer under unit tests.
2023-04-22 19:45:06 +01:00

12 lines
262 B
Python

from decimal import Decimal
from pfbudget.db.model import Category, CategoryRule
category_null = Category("null", None, set())
category_cat1 = Category(
"cat#1",
None,
{CategoryRule(None, None, "desc#1", None, None, None, Decimal(0), "cat#1")},
)