mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
fix wei test
This commit is contained in:
parent
30d6e2c95e
commit
422c087d17
@ -2,7 +2,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
import random
|
import random
|
||||||
from datetime import date
|
from datetime import date, timedelta
|
||||||
|
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
@ -40,10 +40,10 @@ class TestWEIAlgorithm(TestCase):
|
|||||||
parent_club_id=2,
|
parent_club_id=2,
|
||||||
membership_fee_paid=12500,
|
membership_fee_paid=12500,
|
||||||
membership_fee_unpaid=5500,
|
membership_fee_unpaid=5500,
|
||||||
membership_start='2023-08-26',
|
membership_start='2023-01-01',
|
||||||
membership_end='2023-09-15',
|
membership_end='2023-12-31',
|
||||||
date_start='2023-09-16',
|
date_start=date.today() + timedelta(days=2),
|
||||||
date_end='2023-09-18',
|
date_end='2023-12-31',
|
||||||
year=2023,
|
year=2023,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user