Source code for testapp.command.flush

from testapp.command.__interface import CommandInterface
from testapp.ssd_driver import SsdDriver


[docs] class FlushCommand(CommandInterface):
[docs] required_args_cnt: int = 0
def __init__(self):
[docs] self.driver = SsdDriver()
[docs] def run(self): self.driver.flush()
@staticmethod
[docs] def is_valid_args(self, *args): return True