All endpoints route through fusion.reconcile.engine via BankRecAdapter (or directly for engine methods adapter doesn't expose). Uses V19's type='jsonrpc' (replacement for deprecated type='json'). Auth=user. Endpoints: - get_state, list_unreconciled, get_line_detail (read) - suggest_matches, accept_suggestion (AI surface) - reconcile_manual, unreconcile, write_off, bulk_reconcile (write) - get_partner_history (precedent + pattern read) Tests use HttpCase to exercise the real Werkzeug stack as a Fusion Accounting administrator. Includes a smoke test for the deferred write-off path (Task 12) and a negative test confirming auth='user' rejects anonymous requests. Helper _make_pair shares one bank journal across pairs to avoid the (code, company) unique-constraint collision that the default factory would hit on repeat calls. Verified: 11/11 controller tests pass, 134/134 module tests pass. Made-with: Cursor
19 lines
667 B
Python
19 lines
667 B
Python
from . import test_memo_tokenizer
|
|
from . import test_exchange_diff
|
|
from . import test_matching_strategies
|
|
from . import test_ai_suggestion_lifecycle
|
|
from . import test_precedent_lookup
|
|
from . import test_pattern_extraction
|
|
from . import test_confidence_scoring
|
|
from . import test_reconcile_engine_unit
|
|
from . import test_reconcile_engine_property
|
|
from . import test_factories
|
|
from . import test_reconcile_engine_integration
|
|
from . import test_bank_rec_prompt
|
|
from . import test_bank_rec_adapter
|
|
from . import test_bank_rec_tools
|
|
from . import test_legacy_tools_refactor
|
|
from . import test_mv_unreconciled
|
|
from . import test_cron_methods
|
|
from . import test_controller
|