summaryrefslogtreecommitdiff
path: root/tests/testutils
diff options
context:
space:
mode:
authorBenjamin Schubert <contact@benschubert.me>2020-05-07 22:06:03 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2020-05-11 16:27:12 +0000
commitdb2039fe2f333bc33342b4168910b7ed0a626bbd (patch)
tree388347936e06e19b8e93941b38046f456e4ee733 /tests/testutils
parent8797ab18b5fe247fcf1409e1bde4dfe0037149eb (diff)
downloadbuildstream-db2039fe2f333bc33342b4168910b7ed0a626bbd.tar.gz
lint: Stop using mutable objects for default arguments
Diffstat (limited to 'tests/testutils')
-rw-r--r--tests/testutils/junction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutils/junction.py b/tests/testutils/junction.py
index 99117b2cf..4889fdb24 100644
--- a/tests/testutils/junction.py
+++ b/tests/testutils/junction.py
@@ -15,7 +15,7 @@ from buildstream.testing import create_repo
# Returns:
# (str): The ref
#
-def generate_junction(tmpdir, subproject_path, junction_path, *, store_ref=True, options={}):
+def generate_junction(tmpdir, subproject_path, junction_path, *, store_ref=True, options=None):
# Create a repo to hold the subproject and generate
# a junction element for it
#