aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_auth.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2011-06-02 17:43:54 +0200
committerElrond <elrond+mediagoblin.org@samba-tng.org>2011-06-02 17:43:54 +0200
commit0732236e9c816dd2b04f5a9e97632a861de225ad (patch)
treefc421202b6e71cd54ded9c47b6fbfc12efcbfcff /mediagoblin/tests/test_auth.py
parent8cd5d4f8c3de634905651b1d1e8cd1355b7f3a99 (diff)
downloadmediagoblin-0732236e9c816dd2b04f5a9e97632a861de225ad.tar.lz
mediagoblin-0732236e9c816dd2b04f5a9e97632a861de225ad.tar.xz
mediagoblin-0732236e9c816dd2b04f5a9e97632a861de225ad.zip
Handle Exceptions from save(); Move may_edit_media
Turn .save() excpetions into a HTTPConflict. Not nice, but at least the user gets the error. Until there is a proper way to validate things and get nice errors. Move may_edit_media() to lib.py, as it's not a view.
Diffstat (limited to 'mediagoblin/tests/test_auth.py')
0 files changed, 0 insertions, 0 deletions