Convert all tests to use pytest. Phew!

This commit is contained in:
Matt Wright
2014-03-13 18:28:25 -04:00
parent ed645b51f2
commit f3014d01df
48 changed files with 1834 additions and 2079 deletions
+3 -2
View File
@@ -77,8 +77,9 @@ def login():
if not request.json:
return redirect(get_post_login_redirect())
form.next.data = get_url(request.args.get('next')) \
or get_url(request.form.get('next')) or ''
form.next.data = (get_url(request.args.get('next')) or
get_url(request.form.get('next')) or
'')
if request.json:
return _render_json(form, True)