History | View | Annotate | Download (9.8 kB)
userdata: Update unit tests
astakos: Remove call GET /authenticate
Use POST /tokens to authenticate. Delete AstakosClient.get_user_info()and replace its uses by AstakosClient.authenticate().
cyclades: pep8 fixes
cyclades: Fix userdata tests
Mock the 'snf_django.lib.astakos.get_user' function.The way it was done didn't seem to work.
cyclades: Fix userdata limit check
Argument passed to PublicKeyPair.user_limit_exceeded() was a dictrather that a string (user uuid). Django would happily convert itto a string and pass it through to the database query.
Also fix a minor bug in tests.
cyclades: Remove userdata api from ui prefix
- Individualize userdata api by placing module under synnefo namespace and urs under it's own USERDATA_PREFIX