Private
Public Access
1
0

more coverage stuff

This commit is contained in:
Sander Roosendaal
2021-04-26 11:34:37 +02:00
parent df86eaac0c
commit 544b27e7c0
9 changed files with 312 additions and 152 deletions

View File

@@ -1821,7 +1821,7 @@ def plannedsession_teamclone_view(request,id=0):
startdate__lte = startdate,
rowers = r,
enddate__gte = enddate)[0]
except IndexError:
except IndexError: # pragma: no cover
trainingplan = None
ps = get_object_or_404(PlannedSession,pk=id)