Comment 2 for bug 1574493

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

Reviewed: https://review.openstack.org/309882
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=2183b47af24adc224a45e5ddfdbca1166a39a059
Submitter: Jenkins
Branch: master

commit 2183b47af24adc224a45e5ddfdbca1166a39a059
Author: ZhiQiang Fan <email address hidden>
Date: Tue Apr 26 00:15:09 2016 +0800

    do not search file on real environment

    Keystone cannot pass tox -epy27 on an environment which has
    installed keystone service because we do not prevent oslo.config
    searching all possible directories for configuration file, the
    failed test is:

    keystone.tests.unit.test_cli.CliNoConfigTestCase.test_cli

    Unit test code should not rely on or be affected by real
    environment, this patch mocks the oslo.config find_config_files to
    empty as we expected, so it can succeed in every environment.

    Change-Id: I0e8ade7414dbc92ca9334242c1369e0f51d2eba5
    Closes-Bug: #1574493