Merge "Mocking utils.check_deploy_backups in OvercloudDeploy tests" into stable/wallaby
This commit is contained in:
commit
e9aecabd56
@ -119,6 +119,11 @@ class TestDeployOvercloud(fakes.TestDeployOvercloud):
|
|||||||
mock_copy_to_wd.start()
|
mock_copy_to_wd.start()
|
||||||
self.addCleanup(mock_copy_to_wd.stop)
|
self.addCleanup(mock_copy_to_wd.stop)
|
||||||
|
|
||||||
|
mock_check_deploy_backups = mock.patch(
|
||||||
|
'tripleoclient.utils.check_deploy_backups', autospec=True)
|
||||||
|
mock_check_deploy_backups.start()
|
||||||
|
self.addCleanup(mock_check_deploy_backups.stop)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
super(TestDeployOvercloud, self).tearDown()
|
super(TestDeployOvercloud, self).tearDown()
|
||||||
os.unlink(self.parameter_defaults_env_file)
|
os.unlink(self.parameter_defaults_env_file)
|
||||||
|
Loading…
Reference in New Issue
Block a user