testing c2 import
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user