summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-02-06 19:38:58 +0100
committerRuben Pollan <meskio@sindominio.net>2017-02-09 18:35:54 +0100
commit374bb846b15596f99da77a4a7c9a348187774534 (patch)
treeb76b30ba3240b892817a0006d98523cf75c44199 /tests/unit
parent546190e59ba11fe109d933f4f22fed5398f86010 (diff)
[feat] add account based keymanagement API
- Resolves: #8755
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/core/test_services.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/core/test_services.py b/tests/unit/core/test_services.py
index bb00dce9..1b0e80c9 100644
--- a/tests/unit/core/test_services.py
+++ b/tests/unit/core/test_services.py
@@ -9,25 +9,25 @@ class KeymanagerServiceTestCase(unittest.TestCase):
@defer.inlineCallbacks
def test_keymanager_service_list_call(self):
kms = keymanagerServiceFactory()
- yield kms.do_list_keys({'user': 'user'})
+ yield kms.do_list_keys('user')
assert kms._keymanager.loopback == ['get_all_keys']
@defer.inlineCallbacks
def test_keymanager_service_export_call(self):
kms = keymanagerServiceFactory()
- yield kms.do_export({'user': 'user'}, 'foo@bar')
+ yield kms.do_export('user', 'foo@bar')
assert kms._keymanager.loopback == ['get_key']
@defer.inlineCallbacks
def test_keymanager_service_insert_call(self):
kms = keymanagerServiceFactory()
- yield kms.do_insert({'user': 'user'}, 'foo@bar', 'aaaa')
+ yield kms.do_insert('user', 'foo@bar', 'aaaa')
assert kms._keymanager.loopback == ['put_raw_key', 'get_key']
@defer.inlineCallbacks
def test_keymanager_service_delete_call(self):
kms = keymanagerServiceFactory()
- yield kms.do_delete({'user': 'user'}, 'foo@bar')
+ yield kms.do_delete('user', 'foo@bar')
assert kms._keymanager.loopback == ['get_key', 'delete_key']