bisect-kit: fix bisector 'view' subcommand

'view' subcommand may fail when re-generate revlist. This affected all
bisectors using codechange module.

BUG=chromium:898431
TEST=/bisect_android_repo.py init --old 5055130 --new 5056166 --branch git_pi-arc

Change-Id: I7c56b8044ccd63bdc402d259fddcfb06f675ed1d
Reviewed-on: https://chromium-review.googlesource.com/1309853
Commit-Ready: Kuang-che Wu <kcwu@chromium.org>
Tested-by: Kuang-che Wu <kcwu@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
diff --git a/bisect_kit/cli_test.py b/bisect_kit/cli_test.py
index 3fc38aa..4c8012c 100644
--- a/bisect_kit/cli_test.py
+++ b/bisect_kit/cli_test.py
@@ -282,7 +282,7 @@
     bisector.main('init', '--num=100', '--old=10', '--new=90')
     with mock.patch.object(DummyDomain, 'view') as mock_view:
       bisector.main('view')
-      mock_view.assert_called_with('10', '90')
+      mock_view.assert_called_with(map(str, range(100)), '10', '90')
 
   def test_cmd_config_confidence(self):
     bisector = cli.BisectorCommandLine(DummyDomain)