Skip to content

Merge branch 'fix_retransfer' into develop #1437

Merge branch 'fix_retransfer' into develop

Merge branch 'fix_retransfer' into develop #1437

GitHub Actions / JUnit Test Report failed Nov 14, 2024 in 0s

1329 tests run, 1327 passed, 1 skipped, 1 failed.

Annotations

Check failure on line 1 in TestAccount

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

TestAccount.test_get_system_accounts

assert 'true' in ['Mitgliedsbeiträge', 'player', "Message validation failed: True is not of type 'object'\n\nFailed validating 'type' in schema[0]:\n    {'additionalProperties': False,\n     'properties': {'args': {'$ref': '#/definitions/args'},\n                    'domain': {'type': 'string'},\n                    'kwargs': {'$ref': '#/definitions/kwargs'},\n                    'message': {'type': 'string'}},\n     'required': ['message'],\n     'type': 'object'}\n\nOn instance:\n    True for message true", 'beautiful', 'heavy']
 +  where 'true' = pycroft.model.finance.Account(name='true', type='REVENUE', legacy=False, id=47).name
 +    where pycroft.model.finance.Account(name='true', type='REVENUE', legacy=False, id=47) = pycroft.model.config.Config(member_group_id=15, network_access_group_id=16, violation_group_id=17, external_group_id=19, blocked_group_id=21, caretaker_group_id=22, treasurer_group_id=23, pre_member_group_id=24, traffic_limit_exceeded_group_id=18, payment_in_default_group_id=20, membership_fee_account_id=47, membership_fee_bank_account_id=2, non_attributable_transactions_account_id=48, fints_product_id=None, id=1).membership_fee_account
Raw output
tests/frontend/test_finance.py:250: in test_get_system_accounts
    assert config.membership_fee_account.name in [
E   assert 'true' in ['Mitgliedsbeiträge', 'player', "Message validation failed: True is not of type 'object'\n\nFailed validating 'type' in schema[0]:\n    {'additionalProperties': False,\n     'properties': {'args': {'$ref': '#/definitions/args'},\n                    'domain': {'type': 'string'},\n                    'kwargs': {'$ref': '#/definitions/kwargs'},\n                    'message': {'type': 'string'}},\n     'required': ['message'],\n     'type': 'object'}\n\nOn instance:\n    True for message true", 'beautiful', 'heavy']
E    +  where 'true' = pycroft.model.finance.Account(name='true', type='REVENUE', legacy=False, id=47).name
E    +    where pycroft.model.finance.Account(name='true', type='REVENUE', legacy=False, id=47) = pycroft.model.config.Config(member_group_id=15, network_access_group_id=16, violation_group_id=17, external_group_id=19, blocked_group_id=21, caretaker_group_id=22, treasurer_group_id=23, pre_member_group_id=24, traffic_limit_exceeded_group_id=18, payment_in_default_group_id=20, membership_fee_account_id=47, membership_fee_bank_account_id=2, non_attributable_transactions_account_id=48, fints_product_id=None, id=1).membership_fee_account