Comment 8 for bug 1544522

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/279134
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=22cb2e81a6d5dfad022fae5fca7601e2ae9aab88
Submitter: Jenkins
Branch: master

commit 22cb2e81a6d5dfad022fae5fca7601e2ae9aab88
Author: Javeme <email address hidden>
Date: Thu Feb 11 20:09:41 2016 +0800

    Don't use Mock.called_once_with that does not exist

    class mock.Mock does not exist method called_once_with, it just exists
    method assert_called_once_with. Currently there are still ome places
    where we use called_once_with method, this patch let's correct it.

    NOTE: called_once_with() does nothing because it's a mock object.

    Closes-Bug: #1544522
    Change-Id: Iac7c029a1cc66439f43d441bc6d0832686536961