Disable unnecessary warnings from heatclient about object comparisons
A recent heatclient release included a warning on comparison of Resource objects which is triggered in the Horizon test suite *a lot*. This patch raises the logging threshold to ERROR for the heatclient.openstack.common.apiclient.base module. Change-Id: I63c6a8475996d214eea712620d528a978e38a594 Fixes-Bug: 1536892
This commit is contained in:
parent
feb8815d71
commit
d8c0a7fac6
@ -10,6 +10,8 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from heatclient.v1 import resource_types
|
||||
from heatclient.v1 import resources
|
||||
from heatclient.v1 import services
|
||||
@ -17,6 +19,9 @@ from heatclient.v1 import stacks
|
||||
|
||||
from openstack_dashboard.test.test_data import utils
|
||||
|
||||
# suppress warnings about our use of object comparisons in heatclient
|
||||
logging.getLogger('heatclient.openstack.common.apiclient.base') \
|
||||
.setLevel('ERROR')
|
||||
|
||||
# A slightly hacked up copy of a sample cloudformation template for testing.
|
||||
TEMPLATE = """
|
||||
|
Loading…
Reference in New Issue
Block a user