improved form validation
This commit is contained in:
@@ -26,7 +26,7 @@ class CoursesTest(TestCase):
|
||||
'file':f,
|
||||
}
|
||||
|
||||
courseform = CourseForm(form_data,file_data)
|
||||
courseform = CourseForm(form_data)
|
||||
self.assertTrue(courseform.is_valid())
|
||||
|
||||
response = self.c.get('/rowers/courses/upload/')
|
||||
|
||||
Reference in New Issue
Block a user