ec2-api/ec2api/tests
Stephen Finucane 7b7c2d9f21 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 <stephenfin@redhat.com>
Closes-Bug: #1831870
2019-06-06 14:23:18 +01:00
..
unit tests: Avoid using mock wraps 2019-06-06 14:23:18 +01:00
__init__.py remove content of tests/__init__.py 2015-09-09 16:47:13 +03:00
botocoreclient.py Remove intree ec2-api tempest tests 2018-03-18 03:27:03 +00:00