From 25b1fb086e7d2518206f12004c5988d84a200e99 Mon Sep 17 00:00:00 2001 From: Michal Mielewczyk Date: Mon, 25 May 2020 05:09:14 -0400 Subject: [PATCH] test api: fix purge command wrapper name Signed-off-by: Michal Mielewczyk --- test/functional/api/cas/casadm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/api/cas/casadm.py b/test/functional/api/cas/casadm.py index 9f81579..80e6477 100644 --- a/test/functional/api/cas/casadm.py +++ b/test/functional/api/cas/casadm.py @@ -80,14 +80,14 @@ def try_add(core_device: Device, cache_id: int): def purge_cache(cache_id: int): - output = TestRun.executor.run(script_purge_cache(str(cache_id))) + output = TestRun.executor.run(script_purge_cache_cmd(str(cache_id))) if output.exit_code != 0: raise CmdException("Purge cache failed.", output) return output def purge_core(cache_id: int, core_id: int): - output = TestRun.executor.run(script_purge_core(str(cache_id), str(core_id))) + output = TestRun.executor.run(script_purge_core_cmd(str(cache_id), str(core_id))) if output.exit_code != 0: raise CmdException("Purge core failed.", output) return output