Private
Public Access
1
0

untested POST version of stroke_data API

This commit is contained in:
Sander Roosendaal
2016-11-25 20:31:44 +01:00
parent 88da49a00e
commit 3ef5c40be4
4 changed files with 91 additions and 3 deletions

View File

@@ -330,13 +330,12 @@ class DataTest(TestCase):
form = DocumentsForm(form_data,file_data)
self.assertTrue(form.is_valid())
f.close()
u = User.objects.get(username='john')
r = Rower.objects.get(user=u)
rr = rrower(hrmax=r.max,hrut2=r.ut2,
hrut1=r.ut1,hrat=r.at,
hrtr=r.tr,hran=r.an,ftp=r.ftp)