Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (9.8 kB)

# Date Author Comment
a9d34f3b 01/08/2014 05:46 pm Kostas Papadimitriou

userdata: Update unit tests

b4b82ec4 10/29/2013 04:15 pm Giorgos Korfiatis

astakos: Remove call GET /authenticate

Use POST /tokens to authenticate. Delete AstakosClient.get_user_info()
and replace its uses by AstakosClient.authenticate().

d3e9d04b 10/29/2013 12:11 pm Ilias Tsitsimpis

cyclades: pep8 fixes

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