Jiri Podivin
1a59023772
Mocking utils.check_deploy_backups in OvercloudDeploy tests
The `check_deploy_backups` makes calls to `stat` which can potentially lead to I/O error in testing scenarios when the relevant file is removed after path retrieval but before `stat` is called. This can lead to tox test failure, in both CI and local environments. Mocking the utils.check_deploy_backups in tests where it is indirectly called should alleviate the problem. Long term solution would be mocking all built in functions performing I/O calls by default. Closes-Bug: #1969425 Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I96d4bfce84ffe36d476e3383ee264cea6fd93c24
About tripleoclient
General information
tripleoclient is an OpenStackClient (OSC) plugin implementation that implements commands useful for TripleO and the install and management of both an undercloud and an overcloud.
See the TripleO Documentation for details on using tripleoclient.
See the Release Notes
Team and repository tags
Description