Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nk20
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BDE
nk20
Commits
422c087d
Verified
Commit
422c087d
authored
1 year ago
by
bleizi
Browse files
Options
Downloads
Patches
Plain Diff
fix wei test
parent
30d6e2c9
No related branches found
No related tags found
1 merge request
!220
Rework of the friendships page
Pipeline
#12999
passed with stages
in 15 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/wei/tests/test_wei_algorithm_2023.py
+5
-5
5 additions, 5 deletions
apps/wei/tests/test_wei_algorithm_2023.py
with
5 additions
and
5 deletions
apps/wei/tests/test_wei_algorithm_2023.py
+
5
−
5
View file @
422c087d
...
...
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
import
random
from
datetime
import
date
from
datetime
import
date
,
timedelta
from
django.contrib.auth.models
import
User
from
django.test
import
TestCase
...
...
@@ -40,10 +40,10 @@ class TestWEIAlgorithm(TestCase):
parent_club_id
=
2
,
membership_fee_paid
=
12500
,
membership_fee_unpaid
=
5500
,
membership_start
=
'
2023-0
8-26
'
,
membership_end
=
'
2023-
09-15
'
,
date_start
=
'
2023-09-16
'
,
date_end
=
'
2023-
09-18
'
,
membership_start
=
'
2023-0
1-01
'
,
membership_end
=
'
2023-
12-31
'
,
date_start
=
date
.
today
()
+
timedelta
(
days
=
2
)
,
date_end
=
'
2023-
12-31
'
,
year
=
2023
,
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment