Remove unused test function

The appconfig function in keystone.tests.TestCase wasn't used.
This change removes it.

Change-Id: I5377b7a3a42df1d111736f9cce0e2f74fa5931e2
races cause 404 when removing user from project

When removing a user from a project, the assignment manager retrieves a
list of all roles the user has on the project, then removes each role.
Each (user, role, project) tuple is removed with a separate call into
the driver. If, before a particular role has been removed, that role is
deleted by another request calling into the manager (i.e., via
delete_role), the call into the driver by the user removal request will
raise a RoleNotFound exception and the request will return an HTTP 404
error. Furthermore, any roles in the list after the exceptional role
will not be deleted.
This patch add try-except around the
driver.remove_role_from_user_and_project calls to catch the RoleNotFound
exceptions, so that roles after the exceptional role will be deleted as
expected, and a 404 is not returned.

Closes-Bug: #1257390

Change-Id: Ic48d869711d0275d402616c550fc0e7444b0a0d0
Change ListOpt default value from str or None to list

In keystone/common/config.py, some ListOpt config object was inited
with a string or None default value, it's incorrect. This patch modifies
their default value to list objects.

Change-Id: I2aec4f49d94e131d45f7dc9bfeb63b8d819d0bb1
Closes-Bug: #1259735
Remove netifaces requirement

netifaces is not required to run the tests, so remove it from
the requirements.

Related-Bug: #1266513
Change-Id: Ifb3b262f47d629670b06c670353dbe798af4dc03
Tests use cleanUp rather than tearDown

The tests were putting clean-up code in tearDown. Using tearDown
causes problems with developing and testing because if there's an
exception raised in setUp then tearDown is not called and this
typically affects other tests. For example, you'll get several
tests failing because one test's setUp failed and now the other
tests can't load fixtures.

Also, this should make it easier to switch to using fixtures since
fixtures use cleanUp.

Change-Id: I0d0d14ec34ebbeb9dbf0fe2fe3dd304b868bcf93
Merge "races cause 404 when removing user from project"
Merge "Remove unused test function"
Merge "Remove netifaces requirement"
Merge "Change ListOpt default value from str or None to list"
Merge "Tests use cleanUp rather than tearDown"