testing
This commit is contained in:
@@ -236,7 +236,7 @@ class SearchForm(forms.Form):
|
||||
# simple form for Contact page. Sends email to info@rowsandall.com
|
||||
class EmailForm(forms.Form):
|
||||
firstname = forms.CharField(max_length=255)
|
||||
lastname = forms.CharField(max_length=255)
|
||||
lastname = forms.CharField(max_length=255, required=False)
|
||||
email = forms.EmailField()
|
||||
subject = forms.CharField(max_length=255)
|
||||
message = forms.CharField(widget=forms.Textarea())
|
||||
|
||||
@@ -42,12 +42,7 @@ class ListWorkoutTest(TestCase):
|
||||
rowerplan='coach')
|
||||
|
||||
self.c = Client()
|
||||
self.user_workouts = WorkoutFactory.create_batch(len(workouttypes), user=self.r)
|
||||
i = 0
|
||||
for workouttype in workouttypes:
|
||||
self.user_workouts[i].workouttype = workouttype[0]
|
||||
self.user_workouts[i].save()
|
||||
i = i+1
|
||||
self.user_workouts = WorkoutFactory.create_batch(5, user=self.r)
|
||||
|
||||
self.factory = RequestFactory()
|
||||
self.password = faker.word()
|
||||
|
||||
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
Reference in New Issue
Block a user