astakos: replace CookieAuthenticationMiddleware with a view decorator
reverse commits ab30f5f163a13dfc7f9bec4d263208dd35f09d16 &1439d6383113b151b6a3316e320a0418fa30d421
decorate also ``django.contrib.auth.views`` utilized byastakos
astakos: api calls authenticated via X-Auth-Token shall not affect cookie
CookieAuthenticationMiddleware.process_request() synchronizesthe astakos cookie with the request user.If an astakos cookie is set but there is no logged in user,the middleware deletes the cookie....
astakos: Adapt tests to 2.6-style unittest
Define assertGreater, assertIn, assertRaises in snf_django.utils.testing
Replace 'synnefo.lib.http' with 'objpool.http'
snf-django-lib: provide proxy functionality
snf_django: Use wraps in transaction decorator
This is to preserve name of called function.
Improve mocked quotaholder
Mock 'resolve_commissions' call.
Mock quotaholder for Cyclades tests
Create 'mocked_quotaholder' context manager to bypass commission and useit in Cyclades tests. Also this commit does some various fixes to othertests.
Improve log message
Distinguish exceptions while using AstakosClient to communicate withAstakos, from the rest API errors.
snf_django.lib.astakos: Use astakosclient
View revisions
Also available in: Atom