tests: Embed test framework within OCL repository

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2022-12-23 12:50:17 +01:00
parent bc0c8c1bf5
commit 849f59855c
91 changed files with 9930 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
#
# 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