Update test case for federation

When we do the test for
'test_using_remote_direct_mapping_that_doesnt_exist_fails' in
test_utils, the mapping rule should accord with mapping models.
For it is not the bad mapping test.

Change-Id: I2718f3914ceb9f6511e7aec4bb24de2fd9110a5c
This commit is contained in:
yangweiwei 2017-05-19 10:48:58 +08:00
parent 5f31868c0b
commit 039d4c151e
1 changed files with 7 additions and 2 deletions

View File

@ -471,10 +471,15 @@ MAPPING_DIRECT_MAPPING_THROUGH_KEYWORD = {
{
"local": [
{
"user": "{0}"
"user": {
"name": "{0}",
}
},
{
"group": TESTER_GROUP_ID
"group": {
"id": TESTER_GROUP_ID
}
}
],
"remote": [