open-cas-linux/test/functional/api/cas/casctl.py
Rafal Stefanowski acec05060d Fix license
Change license to BSD-3-Clause

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
2021-10-28 12:46:42 +02:00

24 lines
453 B
Python

#
# Copyright(c) 2019-2021 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
#
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))