Private
Public Access
1
0

committing survey

This commit is contained in:
Sander Roosendaal
2020-01-08 22:43:41 +01:00
parent cfc61e8621
commit 09a490c064
25 changed files with 572 additions and 597 deletions

View File

@@ -11,7 +11,7 @@ class CoursesTest(TestCase):
self.u = User.objects.create_user('john',
'sander@ds.ds',
'koeinsloot')
self.r = Rower.objects.create(user=self.u,gdproptin=True,
self.r = Rower.objects.create(user=self.u,gdproptin=True,surveydone=True,
gdproptindate=timezone.now(),
rowerplan='coach',
)
@@ -73,9 +73,8 @@ class CoursesTest(TestCase):
response = self.c.get('/rowers/courses/1/downloadkml/')
self.assertEqual(response.status_code,200)
self.assertEquals(
response.get('Content-Disposition'),
'attachment; filename="course_1.kml"'
)