Hyper-V unit tests refactoring (continued + partial)
The Hyper-V driver oldest tests (test_hypervapi.py) are proving hard to maintain, we need to fix that.
The tests in test_hypervapi.py in particular can also be refactored and split in separate TestCases, one of each *ops module.
This effort will:
* improve the readability of the tests
* remove remaining fakes and stubs
* make better use of patching
* reduce conflicts during rebases
This blueprint will target to complete the effort started in the previous cycle in the blueprint https:/
A new blueprint is necessary, as the linked blueprint was already marked as completed in Kilo.
Blueprint information
- Status:
- Complete
- Approver:
- John Garbutt
- Priority:
- Low
- Drafter:
- Claudiu Belu
- Direction:
- Approved
- Assignee:
- Claudiu Belu
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
-
Implemented
- Milestone target:
-
12.0.0
- Started by
- John Garbutt
- Completed by
- John Garbutt
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Hyper-V: Adds MigrationOps unit tests
Addressed by: https:/
Hyper-V: Adds VolumeOps unit tests
Addressed by: https:/
Hyper-V: Adds HyperVDriver unit tests
Addressed by: https:/
Hyper-V: removes test_hypervapi tests
Gerrit topic: https:/
All patches merged or abandoned, marking this as complete. --johnthetubaguy 4th August 2015
Work Items
Dependency tree

* Blueprints in grey have been implemented.