summaryrefslogtreecommitdiff
path: root/tests/elements/filter/basic/element_plugins/dynamic.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/elements/filter/basic/element_plugins/dynamic.py')
-rw-r--r--tests/elements/filter/basic/element_plugins/dynamic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/elements/filter/basic/element_plugins/dynamic.py b/tests/elements/filter/basic/element_plugins/dynamic.py
index db92a6647..16a600823 100644
--- a/tests/elements/filter/basic/element_plugins/dynamic.py
+++ b/tests/elements/filter/basic/element_plugins/dynamic.py
@@ -1,4 +1,4 @@
-from buildstream import Element, Scope
+from buildstream import Element
# Copies files from the dependent element but inserts split-rules using dynamic data
@@ -24,7 +24,7 @@ class DynamicElement(Element):
def assemble(self, sandbox):
with self.timed_activity("Staging artifact", silent_nested=True):
- for dep in self.dependencies(Scope.BUILD):
+ for dep in self.dependencies():
dep.stage_artifact(sandbox)
bstdata = self.get_public_data("bst")