Private
Public Access
1
0

testing c2 import

This commit is contained in:
Sander Roosendaal
2021-05-12 06:52:53 +02:00
parent 2235b28cd5
commit 4afaa5fd10
8 changed files with 40 additions and 39 deletions

View File

@@ -91,7 +91,7 @@ from django.utils.datastructures import MultiValueDictKeyError
from django.utils import timezone,translation
from django.core.mail import send_mail, BadHeaderError
from rowers.forms import (
SummaryStringForm,IntervalUpdateForm,StrokeDataForm,
SummaryStringForm,StrokeDataForm,
StatsOptionsForm,PredictedPieceForm,DateRangeForm,DeltaDaysForm,
FitnessMetricForm,PredictedPieceFormNoDistance,
EmailForm, RegistrationForm, RegistrationFormTermsOfService,
@@ -1161,7 +1161,7 @@ def get_my_teams(user):
return teams
# Used for the interval editor - translates seconds to a time object
def get_time(second):
def get_time(second): # pragma: no cover
if (second<=0) or (second>1e9):
hours = 0
minutes=0