add partial contract tests
Some checks failed
Deploy Amap / deploy (push) Failing after 44s

This commit is contained in:
Julien Aldon
2026-03-02 11:45:05 +01:00
parent 4a4c1225dc
commit 5dd9e19877
6 changed files with 122 additions and 94 deletions

View File

@@ -3,6 +3,7 @@ from .forms import form_factory
def contract_factory(**kwargs):
data = dict(
id=1,
firstname="test",
lastname="test",
email="test@test.test",
@@ -67,6 +68,9 @@ def contract_body_factory(**kwargs):
phone="00000000",
payment_method="cheque",
cheque_quantity=1,
products=[],
cheques=[],
form_id=1
)
data.update(kwargs)
return data