summaryrefslogtreecommitdiff
path: root/tests/plugins/pipeline/customelement/pluginelements/foo.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/pipeline/customelement/pluginelements/foo.py')
-rw-r--r--tests/plugins/pipeline/customelement/pluginelements/foo.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/plugins/pipeline/customelement/pluginelements/foo.py b/tests/plugins/pipeline/customelement/pluginelements/foo.py
new file mode 100644
index 000000000..823306ebc
--- /dev/null
+++ b/tests/plugins/pipeline/customelement/pluginelements/foo.py
@@ -0,0 +1,17 @@
+from buildstream import Element
+
+
+class FooElement(Element):
+
+ def preflight(self):
+ pass
+
+ def configure(self, node):
+ pass
+
+ def get_unique_key(self):
+ return {}
+
+
+def setup():
+ return FooElement