Improve unit test coverage for dcmanager/manager/subcloud_manager.py (5/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 79% to 90%

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

Story: 2007082
Task: 49618

Change-Id: I1219ce7c5f6cebc0d1cb564905eb5cc5b4045540
Signed-off-by: Swapna Gorre <swapna.gorre@windriver.com>
This commit is contained in:
Swapna Gorre 2024-03-25 05:31:45 -04:00
parent 9bf56e9e30
commit 7eb62ef9a0
1 changed files with 558 additions and 108 deletions