7b7c2d9f21
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 |
||
---|---|---|
.. | ||
api | ||
cmd | ||
db | ||
hacking | ||
metadata | ||
s3 | ||
tests | ||
__init__.py | ||
clients.py | ||
config.py | ||
context.py | ||
exception.py | ||
i18n.py | ||
opts.py | ||
paths.py | ||
service.py | ||
utils.py | ||
version.py | ||
wsgi.py |