Comment 3 for bug 1496898

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

Reviewed: https://review.openstack.org/224787
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=367925c770c98b188894e289944bb01fe711a588
Submitter: Jenkins
Branch: master

commit 367925c770c98b188894e289944bb01fe711a588
Author: Venkatesh Sampath <email address hidden>
Date: Thu Sep 17 11:20:14 2015 +0530

    Prevent extraneous log messages and stdout prints

    while running unit tests using run_tests.sh,
    we can see quite an amount of unwanted log
    messages and stdout prints as part of
    the unit test results on the console.
    This basically makes it difficult to go
    through the test results and figure whats happening.

    This patch fixes the cause for those
    extraneous log messages caused due to
    a incorrect fixture usage in test_manage.py
    and also by mocking sys.stdout at the respective unit tests.

    Closes-bug: #1496898
    Change-Id: If986691cb3f36ba357a5c0df34b6df7bf2d8ff86