tests/auth: Don't rely on case sensitive error strings
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 12 Dec 2012 10:54:43 +0000 (11:54 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Fri, 21 Dec 2012 07:12:25 +0000 (08:12 +0100)
commit0eff207dff226e13ada970c10a47e88da8ee5686
treea26ca2254e167228af5a0886cead26505da6b8e7
parent950124e640913e150088d8644506aceaadd7ef49
tests/auth: Don't rely on case sensitive error strings

webob's 404 status is "404 NOT FOUND" while werkzeug's is
"404 Not Found". Our test suite was checking the upper case string
for equality. Just test the status error code "404" rather than the
full string which might change at some points/versions and should
not need to be tested.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/tests/test_auth.py