summaryrefslogtreecommitdiff
path: root/tests/plugins/pipeline/customsource/pluginsources/foo.py
blob: d2b0d9c6dbd287bf42519f11638c03c940242cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from buildstream import Source, Consistency


class FooSource(Source):

    def preflight(self):
        pass

    def configure(self, node):
        pass

    def get_consistency(self):
        return Consistency.INCONSISTENT


def setup():
    return FooSource