Package runtime migrations and branding assets
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user