glance/glance
Louis Taylor 899a8b9a77 Remove usage of assert_called_once in mocks
This was never a real part of the mock api, but mock was happily mocking
it out and letting the tests pass. The new mock release made this
behaviour break, causing tests to fail on all patches. This patch
replaces instances of assert_called_once with an assert of the mock's
call_count.

Closes-Bug: #1473369
Co-Authored-By: Ian Cordasco <graffatcolmingov@gmail.com>
(cherry picked from commit df0e566f2a)

Conflicts:
	glance/tests/unit/async/test_taskflow_executor.py

Change-Id: I12ff85a9480d8000b0de54939c3be71458162a40
2015-07-16 17:16:47 +02:00
..
api Change status code from 500 to 400 for image update request 2015-06-17 08:56:24 +02:00
artifacts Database layer for Artifact Repository 2015-03-27 02:48:15 +03:00
async Save image data after setting the data 2015-06-15 17:11:41 +00:00
cmd Fix OSProfiler exception when is enabled 2015-06-23 21:13:59 +00:00
common Add client_socket_timeout option 2015-06-19 08:51:43 -07:00
contrib Artifact Plugins Loader 2015-03-30 20:51:10 +03:00
db Read tag name instead of ID 2015-04-23 15:35:20 -04:00
domain Merge "Add ability to deactivate an image" 2015-03-15 11:58:54 +00:00
hacking Remove use of contextlib.nested 2015-03-18 20:20:33 +08:00
image_cache Glance cache to not prune newly cached images 2015-04-01 23:26:12 -04:00
locale Release Import of Translations from Transifex 2015-04-20 11:09:52 +02:00
openstack Update openstack-common reference in openstack/common/README 2015-04-08 17:47:53 +02:00
quota Move to graduated oslo.log module 2015-03-12 11:48:24 +00:00
registry Merge "Add the ability to specify the sort dir for each key" 2015-03-13 05:54:13 +00:00
search Plugin types are not exposed to the client. 2015-04-23 16:38:18 -04:00
tests Remove usage of assert_called_once in mocks 2015-07-16 17:16:47 +02:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
context.py Simplify context by using oslo.context 2015-02-02 09:51:52 +01:00
gateway.py Move elasticsearch dep to test-requirements.txt 2015-04-08 10:59:44 -07:00
i18n.py Switch over oslo.i18n 2014-07-08 15:28:44 +02:00
listener.py Catalog Index Service - Index Update 2015-03-26 10:22:38 -07:00
location.py Move to graduated oslo.log module 2015-03-12 11:48:24 +00:00
notifier.py Creating metadef object without any properties 2015-03-30 14:16:57 +02:00
opts.py Use graduated oslo.policy 2015-03-17 23:50:02 -05:00
schema.py Return empty str for permissive, none, properties 2015-06-09 16:49:34 +02:00
scrubber.py Move to graduated oslo.log module 2015-03-12 11:48:24 +00:00
service.py Catalog Index Service - Index Update 2015-03-26 10:22:38 -07:00
version.py Remove vim header 2014-01-14 16:03:28 +00:00