|
19 | 19 | Account(type='accounts', id='4', attributes=AccountAttributes(created_at='2021-05-10T09:30:00+01:00', updated_at='2022-05-10T09:30:00+01:00', active=True, name='Credit Card', type='liability', account_role='creditCard', currency_id='14', currency_code='GBP', currency_symbol='£', currency_decimal_places=2, native_currency_id='14', native_currency_code='GBP', native_currency_symbol='£', native_currency_decimal_places=2, current_balance='-250.00', native_current_balance='-250.00', current_balance_date='2022-05-10T09:30:00+01:00', order=3, notes='Credit card account', monthly_payment_date='2022-05-15T09:30:00+01:00', credit_card_type='monthlyFull', account_number='9876543210', iban='GB29NWBK60161331926819', bic='NWBKGB2L', virtual_balance='0.00', native_virtual_balance='0.00', opening_balance='0.00', native_opening_balance='0.00', opening_balance_date='2021-05-10T09:30:00+01:00', liability_type='credit', liability_direction='debit', interest='19.99', interest_period='monthly', current_debt='250.00', include_net_worth=False, longitude=0.1278, latitude=51.5074, zoom_level=10, last_activity=None)), |
20 | 20 | ]) |
21 | 21 | # --- |
| 22 | +# name: test_bills_model |
| 23 | + list([ |
| 24 | + Bill(type='bills', id='2', attributes=BillAttributes(created_at='2018-09-17T12:46:47+01:00', updated_at='2018-09-17T12:46:47+01:00', currency_id='5', currency_code='EUR', currency_symbol='$', currency_decimal_places=2, native_currency_id='5', native_currency_code='EUR', native_currency_symbol='$', native_currency_decimal_places=2, name='Rent', amount_min='123.45', amount_max='123.45', native_amount_min='123.45', native_amount_max='123.45', date='2018-09-17T12:46:47+01:00', end_date='2018-09-17T12:46:47+01:00', extension_date='2018-09-17T12:46:47+01:00', repeat_freq='monthly', skip=0, active=True, order=1, notes='Some example notes', next_expected_match='2018-09-17T12:46:47+01:00', next_expected_match_diff='today', object_group_id='5', object_group_order=5, object_group_title='Example Group', pay_dates=['2018-09-17T12:46:47+01:00'], paid_dates=[BillPaidDate(transaction_group_id='123', transaction_journal_id='123', date='2018-09-17T12:46:47+01:00')])), |
| 25 | + ]) |
| 26 | +# --- |
| 27 | +# name: test_bills_model.1 |
| 28 | + list([ |
| 29 | + Bill(type='bills', id='2', attributes=BillAttributes(created_at='2018-09-17T12:46:47+01:00', updated_at='2018-09-17T12:46:47+01:00', currency_id='5', currency_code='EUR', currency_symbol='$', currency_decimal_places=2, native_currency_id='5', native_currency_code='EUR', native_currency_symbol='$', native_currency_decimal_places=2, name='Rent', amount_min='123.45', amount_max='123.45', native_amount_min='123.45', native_amount_max='123.45', date='2018-09-17T12:46:47+01:00', end_date='2018-09-17T12:46:47+01:00', extension_date='2018-09-17T12:46:47+01:00', repeat_freq='monthly', skip=0, active=True, order=1, notes='Some example notes', next_expected_match='2018-09-17T12:46:47+01:00', next_expected_match_diff='today', object_group_id='5', object_group_order=5, object_group_title='Example Group', pay_dates=['2018-09-17T12:46:47+01:00'], paid_dates=[BillPaidDate(transaction_group_id='123', transaction_journal_id='123', date='2018-09-17T12:46:47+01:00')])), |
| 30 | + ]) |
| 31 | +# --- |
22 | 32 | # name: test_budgets_model |
23 | 33 | list([ |
24 | 34 | Budget(type='budgets', id='2', attributes=BudgetAttributes(created_at='2018-09-17T12:46:47+01:00', updated_at='2018-09-17T12:46:47+01:00', name='Bills', active=False, notes='Some notes', order=5, auto_budget_type='reset', currency_id='12', currency_code='EUR', currency_symbol='$', currency_decimal_places=2, native_currency_id='5', native_currency_code='EUR', native_currency_symbol='$', native_currency_decimal_places=2, auto_budget_amount='-1012.12', native_auto_budget_amount='-1012.12', auto_budget_period='monthly', spent=[BudgetSpent(sum='123.45', currency_id='5', currency_code='USD', currency_symbol='$', currency_decimal_places=2)])), |
|
0 commit comments