opencas-test-framework/internal_plugins/example_plugin/__init__.py
Robert Baldyga 40f08a369a Move test-framework to its own repository
Signed-off-by: Robert Baldyga <baldyga.r@gmail.com>
2023-05-01 18:55:34 +02:00

23 lines
485 B
Python

#
# Copyright(c) 2020-2021 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
#
class ExamplePlugin:
def __init__(self, params, config):
self.params = params
print(f"Example plugin initialized with params {self.params}")
def pre_setup(self):
print("Example plugin pre setup")
def post_setup(self):
print("Example plugin post setup")
def teardown(self):
print("Example plugin teardown")
plugin_class = ExamplePlugin