summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorjadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4>2009-01-23 22:29:11 +0000
committerjadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4>2009-01-23 22:29:11 +0000
commitf9184ac076eec8a2c082b19aa86a880818c889a9 (patch)
treef1c13e94db417e3ab73af1547cd73350ab2bb541 /cli
parenta3927a450f34142fa2d499e1cd03b4bbcd2b0dbe (diff)
Fixing a unit test broken by rev 2523.
Signed-off-by: John Admanski <jadmanski@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@2683 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'cli')
-rwxr-xr-xcli/host_unittest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/host_unittest.py b/cli/host_unittest.py
index 77e82b1b..7636976d 100755
--- a/cli/host_unittest.py
+++ b/cli/host_unittest.py
@@ -234,7 +234,7 @@ class host_list_unittest(cli_mock.cli_unittest):
rpcs=[('get_hosts', {'hostname__in': ['host2', 'host1']},
True,
[])],
- out_words_ok=['No', 'results'],
+ out_words_ok=[],
out_words_no=['Hostname', 'Status'],
err_words_ok=['Unknown', 'host1', 'host2'])
@@ -376,7 +376,7 @@ class host_list_unittest(cli_mock.cli_unittest):
'hostname__in': ['host2', 'host1']},
True,
[])],
- out_words_ok=['No', 'results'],
+ out_words_ok=[],
out_words_no=['Hostname', 'Status'],
err_words_ok=['Unknown', 'host1', 'host2'])
@@ -453,7 +453,7 @@ class host_list_unittest(cli_mock.cli_unittest):
'hostname__in': ['host2', 'host1']},
True,
[])],
- out_words_ok=['No', 'results'],
+ out_words_ok=[],
out_words_no=['Hostname', 'Status'],
err_words_ok=['Unknown', 'host2'])
@@ -466,7 +466,7 @@ class host_list_unittest(cli_mock.cli_unittest):
'hostname__in': ['host2', 'host1']},
True,
[])],
- out_words_ok=['No', 'results'],
+ out_words_ok=[],
out_words_no=['Hostname', 'Status'],
err_words_ok=['Unknown', 'host2'])