This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only one of the three current disk driver capabilities is also supposed to be a capability of the virt driver, yet all of them were being copied onto the virt driver. This corrects that so that only has_imagecache appears in both places. It also fixes how we test capabilities, which was a) incomplete and b) only passing coincidentally for has_imagecache (i.e., not testing what it intended to be testing). This required making capabilities an instance property instead of a class property, so that when one test sets a capability that doesn't bleed over into other tests. Change-Id: I66928342c9dc8c2735b739d1b96f0d5b187b9e8c
- Loading branch information
Showing
2 changed files
with
60 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters