Private
Public Access
1
0

more coverage stuff

This commit is contained in:
Sander Roosendaal
2021-04-26 11:34:37 +02:00
parent df86eaac0c
commit 544b27e7c0
9 changed files with 312 additions and 152 deletions

View File

@@ -204,12 +204,22 @@ class UserPreferencesTest(TestCase):
'tr':170,
'at':160,
'an':175,
'rest':50
'rest':50,
'hrrestname':'rest',
'hrut2name':'ut2',
'hrut1name':'ut1',
'hratname':'at',
'hrtrname':'tr',
'hranname':'an',
'hrmaxname':'max',
}
form = RowerForm(form_data)
self.assertTrue(form.is_valid())
form = RowerHRZonesForm(form_data)
self.assertTrue(form.is_valid())
url = '/rowers/me/preferences/'
response = self.c.get(url)