Improve baremetal unittest framework of the OSC
The current unittest framework about baremetal mainly has two drawbacks, hardcode for the faked baremetal and only one faked baremetal can be faked.
This BP attempts to improve this test framework with two steps:
1. add FakeBaremetal, and then with it user can generate more than one faked baremetal and all baremetal info is generated by random.
2. add multi-baremetal testcases (e.g. TestBaremetalDe
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- xiexs
- Direction:
- Needs approval
- Assignee:
- xiexs
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Jim Rollenhagen
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add multi nodes support for "baremetal delete" command
Addressed by: https:/
Introduce FakeBaremetal class
Addressed by: https:/
Refactor TestBaremetalDelete with FakeBaremetal
Gerrit topic: https:/