summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-06-26 15:00:02 -0400
committerSimo Sorce <simo@redhat.com>2013-08-19 14:47:21 -0400
commite9019d311626a4c050150249df58b9bcb9592372 (patch)
treee5d37f39607f7f8c39ba62e20c5b8c1b60a0e607 /tests/unit
parent85b975284947a4fc478df3c691d764d0172733e9 (diff)
downloadoslo-shared-key-msg.tar.gz
oslo-shared-key-msg.tar.xz
oslo-shared-key-msg.zip
Add support for retrieving group keysshared-key-msg
Group keys are keys used by all the hosts listening to a specific topic. The unqualified topic name is the group name. Example: conductor, scheduler, ... Change-Id: Ia5bcdd140cef16e07d4d8ab4030d1ac5cb59212c
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/rpc/test_securemessage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/rpc/test_securemessage.py b/tests/unit/rpc/test_securemessage.py
index 8c07df1..eb1755b 100644
--- a/tests/unit/rpc/test_securemessage.py
+++ b/tests/unit/rpc/test_securemessage.py
@@ -40,7 +40,7 @@ class RpcCryptoTestCase(test_utils.BaseTestCase):
keys = store.get_ticket('foo', 'bar')
self.assertIsNone(keys)
- ticket = rpc_secmsg.Ticket('skey', 'ekey', 'esek')
+ ticket = rpc_secmsg.Ticket('bar', 'skey', 'ekey', 'esek')
#add entry in the cache
store.put_ticket('foo', 'bar', 'skey', 'ekey', 'esek', 2000000000)