From 1d6afdb9a162cf464dfa06494f365039b9e1af3f Mon Sep 17 00:00:00 2001 From: Douglas RAILLARD Date: Fri, 9 Aug 2019 12:18:36 +0100 Subject: [PATCH] lisa.tests.base: Call _from_target() using only keyword arguments. This gives more flexibility in the order of parameters in implementations of _from_target(), which is needed when some parameters could have a default value. --- lisa/tests/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisa/tests/base.py b/lisa/tests/base.py index 4ecebc072..8f3fa4d85 100644 --- a/lisa/tests/base.py +++ b/lisa/tests/base.py @@ -417,7 +417,7 @@ class TestBundle(Serializable, abc.ABC): symlink=True, ) - bundle = cls._from_target(target, res_dir, **kwargs) + bundle = cls._from_target(target=target, res_dir=res_dir, **kwargs) # We've created the bundle from the target, and have all of # the information we need to execute the test code. However, -- GitLab