1
0
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:
bleizi 2023-09-20 07:04:13 +02:00
parent 30d6e2c95e
commit 422c087d17
No known key found for this signature in database
GPG Key ID: D46D7E3364433208

View File

@ -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,
) )