Fix test accounts unit test race with networks
Previously the unit tests for the accounts providers were assuming that
all tests would be run in order. This was causing an occasional failure
when 1 of 2 accounts with a network in the fake accounts list were used
for a test not mocking the network clients. This commit addresses this
issue by changing the fake test list in setUp to not use accounts with
networks. Then the test which does test accounts with networks will do
a cleanup on the mock from setup and use it's own accounts list.
Closes-Bug: #1446309
Change-Id: Id7eedc4f9063f33287c945ed72edd59f52d80952
1 file changed