test depends on a behaviour based on current date, so feed with dynamic data (#80815)
gitea/barbacompta/pipeline/head This commit looks good
Details
gitea/barbacompta/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0a9e3b750e
commit
a4547addd4
|
@ -37,14 +37,12 @@ from eo_gestion.eo_facture.models import Client, Contrat
|
|||
),
|
||||
(
|
||||
'annuelle',
|
||||
'2022-08-31',
|
||||
'%s-08-31' % (datetime.now().year + 1),
|
||||
None,
|
||||
2,
|
||||
1,
|
||||
[
|
||||
(1, '2022-08-31', '2023-08-31'),
|
||||
(2, '2023-08-31', '2024-08-31'),
|
||||
(3, '2024-08-31', '2025-08-31'),
|
||||
(4, '2025-08-31', '2026-08-31'),
|
||||
(x, '%s-08-31' % (datetime.now().year + x), '%s-08-31' % (datetime.now().year + x + 1))
|
||||
for x in range(1, 4)
|
||||
],
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue