glance/glance/tests/unit/async
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
..
flows Remove usage of assert_called_once in mocks 2015-07-16 17:16:47 +02:00
__init__.py Introduces eventlet executor for Glance Tasks 2014-09-02 11:45:58 -04:00
test_async.py Introduces eventlet executor for Glance Tasks 2014-09-02 11:45:58 -04:00
test_taskflow_executor.py Remove usage of assert_called_once in mocks 2015-07-16 17:16:47 +02:00