Private
Public Access
1
0

fixing tests coverage by creating tests of new functionality

This commit is contained in:
Sander Roosendaal
2021-05-31 11:08:44 +02:00
parent a2c41244e9
commit 2180287866
7 changed files with 64 additions and 12 deletions

View File

@@ -232,6 +232,7 @@ class PlannedSessionTests(TestCase):
elif not sundays:
sundays = [cycle.enddate]
for i in range(len(sundays)):
if i==0:
monday = cycle.startdate
@@ -239,6 +240,7 @@ class PlannedSessionTests(TestCase):
monday = sundays[i]-datetime.timedelta(days=6)
if monday < cycle.startdate:
monday = cycle.startdate
nextsunday = sundays[i]