Revision a59fbcea snf-tools/synnefo_tools/burnin/astakos_tests.py
b/snf-tools/synnefo_tools/burnin/astakos_tests.py | ||
---|---|---|
60 | 60 |
"""Test that usernames2uuids and uuids2usernames are complementary""" |
61 | 61 |
our_uuid = self._get_uuid() |
62 | 62 |
|
63 |
given_name = self.clients.astakos.uuids2usernames([our_uuid])
|
|
63 |
given_name = self.clients.astakos.get_usernames([our_uuid])
|
|
64 | 64 |
self.info("uuids2usernames returned %s", given_name) |
65 | 65 |
self.assertIn(our_uuid, given_name) |
66 | 66 |
|
67 | 67 |
given_uuid = \ |
68 |
self.clients.astakos.usernames2uuids([given_name[our_uuid]])
|
|
68 |
self.clients.astakos.get_uuids([given_name[our_uuid]])
|
|
69 | 69 |
self.info("usernames2uuids returned %s", given_uuid) |
70 | 70 |
self.assertIn(given_name[our_uuid], given_uuid) |
71 | 71 |
|
Also available in: Unified diff