As the use of positional arguments in job.run_test is not supported anymore.
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> --- client/tests/selftest/selftest.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/tests/selftest/selftest.py b/client/tests/selftest/selftest.py index 528feea..d8a4b36 100644 --- a/client/tests/selftest/selftest.py +++ b/client/tests/selftest/selftest.py @@ -41,12 +41,12 @@ class selftest(test.test): def __warn(self, msg): sys.stderr.write(msg) - def execute(self, cmd, *args): + def execute(self, cmd, **args): if cmd == 'mark': - self.__mark(*args) + self.__mark(**args) elif cmd == 'throw': - self.__throw(*args) + self.__throw(**args) elif cmd == 'print': - self.__print(*args) + self.__print(**args) elif cmd == 'warn': - self.__warn(*args) + self.__warn(**args) -- 1.7.10 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
