Private
Public Access
1
0

more coverage

This commit is contained in:
Sander Roosendaal
2021-04-26 12:11:46 +02:00
parent 544b27e7c0
commit 7626554ba9
12 changed files with 83 additions and 100 deletions

View File

@@ -559,7 +559,7 @@ def rower_prefs_view(request,userid=0,message=""):
if powerform.is_valid():
cd = powerform.cleaned_data
hrftp = cd['hrftp']
if hrftp == 0:
if hrftp == 0: # pragma: no cover
hrftp = int((r.an+r.tr)/2.)
ftp = cd['ftp']
otwslack = cd['otwslack']