Hide VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES where needed
Running unit test against a newer libvirt fails due to
VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES being always available.
This was mostly hidden as the old unit test globally deleted
the attribute during execution. Removing this side effect
and use mocking of attributes instead where needed.
Reviewed: https:/ /review. openstack. org/63159 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=dd0bc6ac2d6 ce2190f7a0fe9a7 7194dd1db60b5e
Committed: https:/
Submitter: Jenkins
Branch: master
commit dd0bc6ac2d6ce21 90f7a0fe9a77194 dd1db60b5e
Author: Dirk Mueller <email address hidden>
Date: Thu Dec 19 16:33:15 2013 +0100
Hide VIR_CONNECT_ BASELINE_ CPU_EXPAND_ FEATURES where needed
Running unit test against a newer libvirt fails due to CONNECT_ BASELINE_ CPU_EXPAND_ FEATURES being always available.
VIR_
This was mostly hidden as the old unit test globally deleted
the attribute during execution. Removing this side effect
and use mocking of attributes instead where needed.
Related-Bug: LP #1266534
Change-Id: Id0e6d8771f1a43 f402b6323f0c0df 38ee23e0fa8