|
|
|
|
@@ -165,7 +165,7 @@ class C2Objects(DjangoTestCase):
|
|
|
|
|
rr = rrower(hrmax=self.r.max,hrut2=self.r.ut2,
|
|
|
|
|
hrut1=self.r.ut1,hrat=self.r.at,
|
|
|
|
|
hrtr=self.r.tr,hran=self.r.an,ftp=self.r.ftp)
|
|
|
|
|
row = rdata(filename,rower=rr)
|
|
|
|
|
row = rdata(csvfile=filename,rower=rr)
|
|
|
|
|
totaldist = row.df['cum_dist'].max()
|
|
|
|
|
totaltime = row.df['TimeStamp (sec)'].max()-row.df['TimeStamp (sec)'].min()
|
|
|
|
|
totaltime = totaltime+row.df.loc[:,' ElapsedTime (sec)'].iloc[0]
|
|
|
|
|
@@ -320,7 +320,7 @@ class C2ObjectsTokenExpired(DjangoTestCase):
|
|
|
|
|
rr = rrower(hrmax=self.r.max,hrut2=self.r.ut2,
|
|
|
|
|
hrut1=self.r.ut1,hrat=self.r.at,
|
|
|
|
|
hrtr=self.r.tr,hran=self.r.an,ftp=self.r.ftp)
|
|
|
|
|
row = rdata(filename,rower=rr)
|
|
|
|
|
row = rdata(csvfile=filename,rower=rr)
|
|
|
|
|
totaldist = row.df['cum_dist'].max()
|
|
|
|
|
totaltime = row.df['TimeStamp (sec)'].max()-row.df['TimeStamp (sec)'].min()
|
|
|
|
|
totaltime = totaltime+row.df.loc[:,' ElapsedTime (sec)'].iloc[0]
|
|
|
|
|
@@ -397,7 +397,7 @@ class NKObjects(DjangoTestCase):
|
|
|
|
|
rr = rrower(hrmax=self.r.max,hrut2=self.r.ut2,
|
|
|
|
|
hrut1=self.r.ut1,hrat=self.r.at,
|
|
|
|
|
hrtr=self.r.tr,hran=self.r.an,ftp=self.r.ftp)
|
|
|
|
|
row = rdata(filename,rower=rr)
|
|
|
|
|
row = rdata(csvfile=filename,rower=rr)
|
|
|
|
|
totaldist = row.df['cum_dist'].max()
|
|
|
|
|
totaltime = row.df['TimeStamp (sec)'].max()-row.df['TimeStamp (sec)'].min()
|
|
|
|
|
totaltime = totaltime+row.df.loc[:,' ElapsedTime (sec)'].iloc[0]
|
|
|
|
|
@@ -543,7 +543,7 @@ class StravaObjects(DjangoTestCase):
|
|
|
|
|
rr = rrower(hrmax=self.r.max,hrut2=self.r.ut2,
|
|
|
|
|
hrut1=self.r.ut1,hrat=self.r.at,
|
|
|
|
|
hrtr=self.r.tr,hran=self.r.an,ftp=self.r.ftp)
|
|
|
|
|
row = rdata(filename,rower=rr)
|
|
|
|
|
row = rdata(csvfile=filename,rower=rr)
|
|
|
|
|
totaldist = row.df['cum_dist'].max()
|
|
|
|
|
totaltime = row.df['TimeStamp (sec)'].max()-row.df['TimeStamp (sec)'].min()
|
|
|
|
|
totaltime = totaltime+row.df.loc[:,' ElapsedTime (sec)'].iloc[0]
|
|
|
|
|
@@ -651,7 +651,7 @@ class STObjects(DjangoTestCase):
|
|
|
|
|
rr = rrower(hrmax=self.r.max,hrut2=self.r.ut2,
|
|
|
|
|
hrut1=self.r.ut1,hrat=self.r.at,
|
|
|
|
|
hrtr=self.r.tr,hran=self.r.an,ftp=self.r.ftp)
|
|
|
|
|
row = rdata(filename,rower=rr)
|
|
|
|
|
row = rdata(csvfile=filename,rower=rr)
|
|
|
|
|
totaldist = row.df['cum_dist'].max()
|
|
|
|
|
totaltime = row.df['TimeStamp (sec)'].max()-row.df['TimeStamp (sec)'].min()
|
|
|
|
|
totaltime = totaltime+row.df.loc[:,' ElapsedTime (sec)'].iloc[0]
|
|
|
|
|
@@ -798,7 +798,7 @@ class RunKeeperObjects(DjangoTestCase):
|
|
|
|
|
rr = rrower(hrmax=self.r.max,hrut2=self.r.ut2,
|
|
|
|
|
hrut1=self.r.ut1,hrat=self.r.at,
|
|
|
|
|
hrtr=self.r.tr,hran=self.r.an,ftp=self.r.ftp)
|
|
|
|
|
row = rdata(filename,rower=rr)
|
|
|
|
|
row = rdata(csvfile=filename,rower=rr)
|
|
|
|
|
totaldist = row.df['cum_dist'].max()
|
|
|
|
|
totaltime = row.df['TimeStamp (sec)'].max()-row.df['TimeStamp (sec)'].min()
|
|
|
|
|
totaltime = totaltime+row.df.loc[:,' ElapsedTime (sec)'].iloc[0]
|
|
|
|
|
@@ -892,7 +892,7 @@ class UAObjects(DjangoTestCase):
|
|
|
|
|
rr = rrower(hrmax=self.r.max,hrut2=self.r.ut2,
|
|
|
|
|
hrut1=self.r.ut1,hrat=self.r.at,
|
|
|
|
|
hrtr=self.r.tr,hran=self.r.an,ftp=self.r.ftp)
|
|
|
|
|
row = rdata(filename,rower=rr)
|
|
|
|
|
row = rdata(csvfile=filename,rower=rr)
|
|
|
|
|
totaldist = row.df['cum_dist'].max()
|
|
|
|
|
totaltime = row.df['TimeStamp (sec)'].max()-row.df['TimeStamp (sec)'].min()
|
|
|
|
|
totaltime = totaltime+row.df.loc[:,' ElapsedTime (sec)'].iloc[0]
|
|
|
|
|
@@ -995,7 +995,7 @@ class TPObjects(DjangoTestCase):
|
|
|
|
|
rr = rrower(hrmax=self.r.max,hrut2=self.r.ut2,
|
|
|
|
|
hrut1=self.r.ut1,hrat=self.r.at,
|
|
|
|
|
hrtr=self.r.tr,hran=self.r.an,ftp=self.r.ftp)
|
|
|
|
|
row = rdata(filename,rower=rr)
|
|
|
|
|
row = rdata(csvfile=filename,rower=rr)
|
|
|
|
|
totaldist = row.df['cum_dist'].max()
|
|
|
|
|
totaltime = row.df['TimeStamp (sec)'].max()-row.df['TimeStamp (sec)'].min()
|
|
|
|
|
totaltime = totaltime+row.df.loc[:,' ElapsedTime (sec)'].iloc[0]
|
|
|
|
|
|