Hotfix: Renaming cookie broke unit tests
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 15 Oct 2011 22:25:59 +0000 (00:25 +0200)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 15 Oct 2011 22:25:59 +0000 (00:25 +0200)
commitadf7945081e1e15e22270fee7d2f2f14202799d5
tree513b956b9a45afd72b386038013911471f9ac436
parent471509197034e8aa3a2f4d3fa41e86212b543082
Hotfix: Renaming cookie broke unit tests

The name of the cookie was hardcoded in the unit tests and
while renaming the cookie this part was missed.

So now read the cookie_name from the config in the test.
This also tests for the config item existing!
mediagoblin/tests/test_csrf_middleware.py