tests: Convert remaining tests to mock
tests: Convert remaining tests to mock

Convert remaining tests from mox to mock. This actually highlights
something mock doesn't do that well - ensuring the order that things are
called in. It's not a big deal and the tests are ultimately easier to
grok (IMO), but it's worth highlighting.

Change-Id: I0add2c96a9da510e1a9be0d6d07b7a6a33ac6528
Signed-off-by: Stephen Finucane <492121341a95b3c3aab646bed44634f739dd019b@redhat.com>

openstack/oslo.utils