Create unit tests that test the forms.

This commit is contained in:
Rebecca Law
2015-12-14 10:52:00 +00:00
parent c0550d2c61
commit 295dbeb7d1
6 changed files with 141 additions and 86 deletions

View File

@@ -20,5 +20,4 @@ def process_verify():
login_user(user)
return redirect('/add-service')
else:
print(form.errors)
return jsonify(form.errors), 400