blazar/blazar/tests
Masahito Muroi 29e68d8295 Ignore keys unsupported by BlazarContext in its creation
BlazarContext class raises an error when the class is instantiated
with unspported keys. The class is used as a context for RPC and
the RPC is implemented over oslo.messaging. If oslo.messaging
automatically adds a new key for the context, the RPC execution
fails since the new key is unexpected by BlazarContext and it
raises an error.

This patch relaxes the limitations in BlazarContext. If unexpected
keys are passed for the class instantiation, the class ignores the
keys.

Change-Id: Ibdca6eead0ee726bc10a07ee43e4ef10110d23e2
Closes-Bug: #1775363
2018-06-06 18:57:16 +09:00
..
api Fix object difference issues with Python2/3 compatibility 2018-02-02 00:18:06 +00:00
db Add periodic healing 2018-04-24 13:18:16 +09:00
hacking Add log hacking rules 2017-10-09 07:18:19 +00:00
manager Retry event actions 2018-02-02 10:33:31 +09:00
monitor Add periodic healing 2018-04-24 13:18:16 +09:00
notification Replace messaging.get_transport with get_rpc_transport 2017-06-07 14:21:09 +09:00
plugins Support resource_properties key in instance reservation 2018-05-08 16:09:02 +09:00
utils Add periodic healing 2018-04-24 13:18:16 +09:00
__init__.py Using fixtures instead of deprecated mockpatch module 2017-06-02 08:33:37 +00:00
fake_lease.py Support running actions before the end of a lease 2017-07-31 14:42:56 +00:00
fake_policy.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
test_context.py Ignore keys unsupported by BlazarContext in its creation 2018-06-06 18:57:16 +09:00
test_exceptions.py Fix exception message issues with Python3 2018-01-22 14:00:10 +09:00
test_policy.py Use assertTrue/False(A) instead of assertEqual(True/False, A) 2017-06-29 15:53:29 +07:00
test_service.py Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
test_status.py Add a status module 2018-01-09 14:14:11 +09:00