Improve unit test coverage for dcmanager/manager/subcloud_manager.py (4/5)

This commit includes new unit tests for subcloud_manager.py,
covering new test cases in deploy, add, delete, update, compose,
backup and restore, redeploy, backup, prestage and migrate
operations.

Test plan:
1) PASS: Run tox py39, pylint and pep8 envs and
         verify that they are all passing.
2) PASS: Check 'tox -e cover' command output.
         Coverage increased from 70% to 79%

Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/914074

Story: 2007082
Task: 49618

Change-Id: Ibfd30fc616c5c756ad73f3a33432411d7d189812
Signed-off-by: Swapna Gorre <swapna.gorre@windriver.com>
This commit is contained in:
Swapna Gorre 2024-03-25 06:52:44 -04:00
parent d3b7434a5b
commit 9bf56e9e30