glance/glance/tests/unit/async/flows
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
..
__init__.py Glance Image Introspection 2015-03-10 11:01:18 -04:30
test_convert.py Make sure the converted image is imported 2015-06-15 12:19:00 +00:00
test_import.py Remove usage of assert_called_once in mocks 2015-07-16 17:16:47 +02:00
test_introspect.py Glance Image Introspection 2015-03-10 11:01:18 -04:30