summaryrefslogtreecommitdiff
path: root/tests/project/data/plugins/elements/custom.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/project/data/plugins/elements/custom.py')
-rw-r--r--tests/project/data/plugins/elements/custom.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/project/data/plugins/elements/custom.py b/tests/project/data/plugins/elements/custom.py
deleted file mode 100644
index c18c234a9..000000000
--- a/tests/project/data/plugins/elements/custom.py
+++ /dev/null
@@ -1,19 +0,0 @@
-from buildstream import Element
-
-
-class CustomElement(Element):
-
- def configure(self, node):
- print("Element Data: {}".format(node))
- self.node_validate(node, ['configuration'])
- self.configuration = self.node_subst_member(node, "configuration", '')
-
- def preflight(self):
- pass
-
- def get_unique_key(self):
- return self.configuration
-
-
-def setup():
- return CustomElement