diff options
Diffstat (limited to 'tests/plugins/pipeline/badversionsource/customsources/foo.py')
-rw-r--r-- | tests/plugins/pipeline/badversionsource/customsources/foo.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/plugins/pipeline/badversionsource/customsources/foo.py b/tests/plugins/pipeline/badversionsource/customsources/foo.py new file mode 100644 index 000000000..f50855fd1 --- /dev/null +++ b/tests/plugins/pipeline/badversionsource/customsources/foo.py @@ -0,0 +1,19 @@ +from buildstream import Source, Consistency + + +class BarSource(Source): + + BST_FORMAT_VERSION = 5 + + def preflight(self): + pass + + def configure(self, node): + pass + + def get_consistency(self): + return Consistency.INCONSISTENT + + +def setup(): + return BarSource |