tests/vm: change scripts to use self._config
commitdf00168039c8a58db3c33456db2c00da51043ee2
authorRobert Foley <robert.foley@linaro.org>
Wed, 1 Jul 2020 13:56:23 +0000 (1 14:56 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Sat, 11 Jul 2020 14:52:59 +0000 (11 15:52 +0100)
tree103b1c033a813803292df0b35d929b3800960033
parentd322fe2daf1bd3572b7917f6beafbc1cfbfe50fe
tests/vm: change scripts to use self._config

This change converts existing scripts to using for example self.ROOT_PASS,
to self._config['root_pass'].
We made similar changes for GUEST_USER, and GUEST_PASS.
This allows us also to remove the change in basevm.py,
which adds __getattr__ for backwards compatibility.

Signed-off-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Peter Puhov <peter.puhov@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200601211421.1277-8-robert.foley@linaro.org>
Message-Id: <20200701135652.1366-12-alex.bennee@linaro.org>
tests/vm/basevm.py
tests/vm/fedora
tests/vm/freebsd
tests/vm/netbsd
tests/vm/openbsd