Merge "Identity V3: create_domain() must return a description field"
This commit is contained in:
commit
47351cb5ef
@ -149,11 +149,7 @@ class DomainsTestJSON(base.BaseIdentityV3AdminTest):
|
|||||||
self.addCleanup(self._delete_domain, domain['id'])
|
self.addCleanup(self._delete_domain, domain['id'])
|
||||||
self.assertIn('id', domain)
|
self.assertIn('id', domain)
|
||||||
expected_data = {'name': d_name, 'enabled': True}
|
expected_data = {'name': d_name, 'enabled': True}
|
||||||
# TODO(gmann): there is bug in keystone liberty version where
|
self.assertEqual('', domain['description'])
|
||||||
# description is not being returned if it is not being passed in
|
|
||||||
# request. Bug#1649245. Once bug is fixed then we can enable the below
|
|
||||||
# check.
|
|
||||||
# self.assertEqual('', domain['description'])
|
|
||||||
self.assertDictContainsSubset(expected_data, domain)
|
self.assertDictContainsSubset(expected_data, domain)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user