Move OCL tests from test-framework repository
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
23
test/functional/api/cas/casctl.py
Normal file
23
test/functional/api/cas/casctl.py
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# Copyright(c) 2019 Intel Corporation
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
#
|
||||
|
||||
from .cli import *
|
||||
from core.test_run import TestRun
|
||||
|
||||
|
||||
def help(shortcut: bool = False):
|
||||
return TestRun.executor.run(ctl_help(shortcut))
|
||||
|
||||
|
||||
def start():
|
||||
return TestRun.executor.run(ctl_start())
|
||||
|
||||
|
||||
def stop(flush: bool = False):
|
||||
return TestRun.executor.run(ctl_stop(flush))
|
||||
|
||||
|
||||
def init(force: bool = False):
|
||||
return TestRun.executor.run(ctl_init(force))
|
Reference in New Issue
Block a user