Comment 7 for bug 1544522

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

Reviewed: https://review.openstack.org/279126
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=7d01fabc5e16de0363afeb55c07fde889eb38a32
Submitter: Jenkins
Branch: master

commit 7d01fabc5e16de0363afeb55c07fde889eb38a32
Author: Javeme <email address hidden>
Date: Thu Feb 11 19:19:12 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: I5698a724bc030b838faa06330a0d3dc77cc0d07a