test api: add missing standby_activate
() method
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
70834a74cd
commit
948eccb0b9
@ -180,3 +180,8 @@ class Cache:
|
||||
|
||||
def standby_detach(self, shortcut: bool = False):
|
||||
return casadm.standby_detach_cache(cache_id=self.cache_id, shortcut=shortcut)
|
||||
|
||||
def standby_activate(self, device, shortcut: bool = False):
|
||||
return casadm.standby_activate_cache(
|
||||
cache_id=self.cache_id, cache_dev=device, shortcut=shortcut
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user