summaryrefslogtreecommitdiff
path: root/tests/plugins/loading/plugins/elements/malformedminversion/number.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/loading/plugins/elements/malformedminversion/number.py')
-rw-r--r--tests/plugins/loading/plugins/elements/malformedminversion/number.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/plugins/loading/plugins/elements/malformedminversion/number.py b/tests/plugins/loading/plugins/elements/malformedminversion/number.py
new file mode 100644
index 000000000..154f16d33
--- /dev/null
+++ b/tests/plugins/loading/plugins/elements/malformedminversion/number.py
@@ -0,0 +1,11 @@
+# Plugins are required to specify the BST_MIN_VERSION
+from buildstream import Element
+
+
+class MalformedMinVersion(Element):
+
+ BST_MIN_VERSION = 2.0
+
+
+def setup():
+ return MalformedMinVersion