remove the unused variable in test_sql_upgrade

There is an unused variable in tests/test_sql_upgrade.py. It needs
to be removed.

Change-Id: Ia50a4e91319d1a4dce9515c8b910de28fa68fcb5
For ldap, API wrongly reports user is in group

When the ldap identity backend is configured,
HEAD v3/groups/​{group_id}​/users/​{user_id}
always returns 200, even if the user is not actually in the group.
This is because the sql and kvs backend will raise NotFound
exception if the user is not in the group, but the ldap backend
just return result.

Change-Id: Ie1585c8aebe054091bd76fded666bf41125ff9ca
Closes-Bug: 1245247
Removes unused db_sync methods

In reviewing https://review.openstack.org/79211 we discovered that none
of the db_sync methods are called anymore.

Change-Id: Ie9714822efd06ba51654ac3aa3b93886cae24d6f
Merge "Removes unused db_sync methods"
Merge "For ldap, API wrongly reports user is in group"
Merge "remove the unused variable in test_sql_upgrade"