summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-09 21:39:35 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-09 22:08:16 -0500
commit21e5f23cd1e9a1cc7d7a5652f4cf044c5811fa33 (patch)
tree6ff3c2610198bc98ea2b204550f3f35d1696114f /tests
parent2178698ab00216a6749896b114d4c8956ba70bfc (diff)
downloadbuildstream-21e5f23cd1e9a1cc7d7a5652f4cf044c5811fa33.tar.gz
project plugin test case: Fixed to implement new methods
Diffstat (limited to 'tests')
-rw-r--r--tests/project/data/plugins/sources/custom.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/project/data/plugins/sources/custom.py b/tests/project/data/plugins/sources/custom.py
index 4ab5b2e11..2a5256014 100644
--- a/tests/project/data/plugins/sources/custom.py
+++ b/tests/project/data/plugins/sources/custom.py
@@ -10,6 +10,12 @@ class CustomSource(Source):
def preflight(self):
pass
+ def get_unique_key(self):
+ return self.configuration
+
+ def consistent(self):
+ return True
+
def refresh(self, node):
return False