Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / userdata / tests.py @ d495600d

History | View | Annotate | Download (8.4 kB)

# Date Author Comment
d495600d 10/29/2013 12:05 pm Ilias Tsitsimpis

cyclades: Fix userdata tests

Mock the 'snf_django.lib.astakos.get_user' function.
The way it was done didn't seem to work.

aaaf78f2 10/25/2013 06:27 pm Giorgos Korfiatis

cyclades: Fix userdata limit check

Argument passed to PublicKeyPair.user_limit_exceeded() was a dict
rather that a string (user uuid). Django would happily convert it
to a string and pass it through to the database query.

Also fix a minor bug in tests.

b47b110d 06/03/2013 11:50 am Kostas Papadimitriou

cyclades: Remove userdata api from ui prefix

- Individualize userdata api by placing module under synnefo namespace and
urs under it's own USERDATA_PREFIX