summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins')
-rw-r--r--tests/plugins/pipeline.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/pipeline.py b/tests/plugins/pipeline.py
index 805155731..012b48c28 100644
--- a/tests/plugins/pipeline.py
+++ b/tests/plugins/pipeline.py
@@ -21,7 +21,7 @@ def create_pipeline(tmpdir, basedir, target):
def dummy_handler(message, context):
pass
- context._set_message_handler(dummy_handler)
+ context.set_message_handler(dummy_handler)
return Pipeline(context, project, [target], [])