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:
tengqm 2016-07-14 20:37:55 -04:00
parent 85239b1307
commit 0f0c104bce

View File

@ -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,