tests: Avoid using mock wraps
tests: Avoid using mock wraps

It looks like something has changed in mock 3.x, resulting in some
functions that are wrapped by mock not being called or being called
incorrectly. This breaks some of the assertions we have. There is almost
certainly a bug (or is it a feature, who knows) but the fact is these
tests were extremely tightly coupled to the implementation and probably
didn't need to be. Stop attempting to spy on them and resolve the issue.

We also start using 'assert_not_called' since that's available in mock
3.x.

Change-Id: I06dddc4eba36f80398732ab4f2b7cbc4d7717a00
Signed-off-by: Stephen Finucane <4725dc7f3632bf126d9fbdc30c347e91e8d2fe16@redhat.com>
Closes-Bug: #1831870

stackforge/ec2-api,stackforge/ec2-api,openstack/ec2-api,openstack/ec2-api