diff options
Diffstat (limited to 'tests/plugins/bst2/sources/malformed.py')
-rw-r--r-- | tests/plugins/bst2/sources/malformed.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/plugins/bst2/sources/malformed.py b/tests/plugins/bst2/sources/malformed.py new file mode 100644 index 000000000..786e3d619 --- /dev/null +++ b/tests/plugins/bst2/sources/malformed.py @@ -0,0 +1,32 @@ +from buildstream import Source + + +class Found(Source): + BST_MIN_VERSION = "a pony" + + def configure(self, node): + pass + + def preflight(self): + pass + + def get_unique_key(self): + return {} + + def load_ref(self, node): + pass + + def get_ref(self): + return {} + + def set_ref(self, ref, node): + pass + + def is_cached(self): + return False + + +# Plugin entry point +def setup(): + + return Found |