History | View | Annotate | Download (8.4 kB)
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