tests/remote: Use a function to add a log file to a remote host
authorJonathan Afek <jonathan@wizery.com>
Thu, 19 May 2016 13:06:44 +0000 (16:06 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 28 May 2016 13:33:48 +0000 (16:33 +0300)
commit04fd8ea1bad3ba540bcdffa82953a41fa0f0a7f4
treefe138006c623c924ae9276e2370fbec8cdcc9309
parente2f3f0232f42c2293e4cc9a5b4813d3df55fc3af
tests/remote: Use a function to add a log file to a remote host

Instead of accessing the logs list member of the remote host directly,
use a function to add logs to the remote host to be collected after the
test. This enables us to later have different implementation of remote
hosts or logs collection without requiring to have this list as the
implementation.

Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
tests/hwsim/remotehost.py
tests/remote/monitor.py
tests/remote/rutils.py
tests/remote/test_example.py