blob: c7a995cf89758c39dff78b16e6c9f04d0ec52c21 [file] [log] [blame]
from buildstream import Element
WARNING_B = "warning-b"
class WarningB(Element):
BST_MIN_VERSION = "2.0"
def configure(self, node):
pass
def preflight(self):
pass
def get_unique_key(self):
pass
def configure_sandbox(self, sandbox):
pass
def stage(self, sandbox):
pass
def assemble(self, sandbox):
self.warn("Testing: warning-b produced during assemble", warning_token=WARNING_B)
def setup():
return WarningB