Fix context comparison problem
oslo.context introduced a 'is_admin_project' property recently. This patch fixes the comparison of context as dicts. Change-Id: Ica334204ae9ab0dcfe1999fe8b4daf290736be4b
This commit is contained in:
parent
85239b1307
commit
0f0c104bce
@ -31,6 +31,7 @@ class TestRequestContext(base.SenlinTestCase):
|
||||
'project_domain': 'project-domain-id',
|
||||
'project_domain_name': 'a project domain',
|
||||
'is_admin': False,
|
||||
'is_admin_project': True,
|
||||
'password': 'foo',
|
||||
'show_deleted': False,
|
||||
'read_only': False,
|
||||
|
Loading…
Reference in New Issue
Block a user