From f9184ac076eec8a2c082b19aa86a880818c889a9 Mon Sep 17 00:00:00 2001 From: jadmanski Date: Fri, 23 Jan 2009 22:29:11 +0000 Subject: Fixing a unit test broken by rev 2523. Signed-off-by: John Admanski git-svn-id: svn://test.kernel.org/autotest/trunk@2683 592f7852-d20e-0410-864c-8624ca9c26a4 --- cli/host_unittest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli') 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']) -- cgit v1.2.3