Package runtime migrations and branding assets

This commit is contained in:
rob
2026-08-30 07:21:37 +01:00
parent 97a75d0243
commit af4aa713b9
51 changed files with 72 additions and 29 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ def test_sales_and_payables_cli_workflow(tmp_path,capsys):
payment=int(_run(prefix,["invoice-payment",str(invoice),"--date","2026-08-10","--amount","125","--financial-account","1000"],capsys))
assert payment>0 and "PAID" in _run(prefix,["invoice-list"],capsys)
archive=tmp_path/"archive"
generated=int(_run(prefix,["sales-document-generate","invoice",str(invoice),"--archive",str(archive),"--logo","assets/branding/logo-light.svg"],capsys))
generated=int(_run(prefix,["sales-document-generate","invoice",str(invoice),"--archive",str(archive)],capsys))
assert generated>0 and len(list(archive.rglob("*.pdf")))==1
bill=int(_run(prefix,["supplier-bill-add","--supplier-id",str(supplier),"--date","2026-08-03","--description","Subscription","--amount","60","--expense-account","5020"],capsys))