tests: Embed test framework within OCL repository
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user