Comment 2 for bug 1660393

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

Reviewed: https://review.openstack.org/453037
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=f0b4baa70708fee45a0b11012d872c12a1c6a381
Submitter: Jenkins
Branch: master

commit f0b4baa70708fee45a0b11012d872c12a1c6a381
Author: Thomas Bechtold <email address hidden>
Date: Tue Apr 4 09:09:20 2017 +0200

    Mock 'oslo_messaging.notify._impl_routing.LOG' in notifier tests

    When running the tests with concurrency=1, 2 tests fail with:

      AttributeError: Mock object has no attribute 'debug'

    and

      AssertionError: Expected 'notify' to be called once. Called 0 times

    Mocking the LOG object solves the problem.

    Change-Id: Ie7f4448a103fae448123a05bc92e961aac00d6ec
    Closes-Bug: #1660393