Convert identity.users tests into mock

In addition, domain_get() call checks previously succeeded somehow
with mox test, but they now fails after mock migration.
api.keystone.get_effective_domain_id() is now mocked instead of
api.keystone.domain_get(). There is no need to test the internal of
api.keystone, so get_effective_domain_id() is the right place to mock.

blueprint mock-framework-in-unit-tests
Change-Id: I58deb6027b93f580fe85b461df2ed15ca4f87b40
This commit is contained in:
Akihiro Motoki 2018-04-24 03:52:33 +09:00
parent 0e124d990d
commit aa7bbac000

File diff suppressed because it is too large Load Diff