Comment 12 for bug 1602081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.openstack.org/345633
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9f99f6c212c38f8ae26c6aeee4b4521cbf9207a4
Submitter: Jenkins
Branch: master

commit 9f99f6c212c38f8ae26c6aeee4b4521cbf9207a4
Author: Jamie Lennox <email address hidden>
Date: Fri Jul 22 05:21:23 2016 +1000

    Don't assert exact to_dict output

    The context.to_dict in turn calls the oslo.context to_dict. By enforcing
    the exact dictionary output of the to_dict tests will fail any time that
    oslo.context changes the output of to_dict. This happened with the
    release of oslo.context 2.6.0.

    For nova testing purposes we should only assert properties of the
    dictionary output that were added by nova and rely on oslo.context doing
    the correct thing regarding deserializing its own options.

    Related-Bug: #1602081
    Change-Id: Ib91a73a017e02b48ec01bbf8c28f946fb5120ba5