diff options
author | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-08-18 21:12:40 +0000 |
---|---|---|
committer | jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> | 2008-08-18 21:12:40 +0000 |
commit | 7797fb86f491cfaefaf5bea8b1f05c58748a8314 (patch) | |
tree | 61d070a8f4cbda79fd9304c85d92e260bc1375fe /server/samples/profilertest.srv | |
parent | f78d797964f5c88912c0a1c145618ff5c765ed21 (diff) |
Convert all our uses of directoy SSHHost construction over to use
hosts.create_host instead. Also, fix up a bunch of test references
that use SSHHost when they really just need to run against the
abstract RemoteHost class, and fix some tests using the MockSSHHost
class to just use the mock framework instead.
Risk: Low
Visibility: Gets rid of almost all direct references to SSHHost.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@2010 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'server/samples/profilertest.srv')
-rw-r--r-- | server/samples/profilertest.srv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/samples/profilertest.srv b/server/samples/profilertest.srv index 8854e3e2..7f9721e9 100644 --- a/server/samples/profilertest.srv +++ b/server/samples/profilertest.srv @@ -1,6 +1,6 @@ import time -ssh_hosts = [hosts.SSHHost(m, initialize=False) for m in machines] +ssh_hosts = [hosts.create_host(m, initialize=False) for m in machines] at_hosts = [autotest.Autotest(h) for h in ssh_hosts] |