diff options
author | cmtice <cmtice@google.com> | 2015-04-22 13:59:55 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-04-27 23:30:22 +0000 |
commit | 1d65210d275136943f092b7a8c51effeaf092078 (patch) | |
tree | 6f419036bc52f9e23ae783ebed241cbf32340ec8 /crosperf/experiment_factory_unittest.py | |
parent | 5c09fc2966ac49263ce7154c2905f2a86aeda297 (diff) | |
download | toolchain-utils-1d65210d275136943f092b7a8c51effeaf092078.tar.gz |
Fix various unittest failures.
Over the past few months some of the unittests have not kept up
with code changes and have stopped working. This CL fixes that.
BUG=None
TEST=Ran all the unittests by hand.
Change-Id: I4fdd09846ae92ce2d45ec478a39ff3ece30b4579
Reviewed-on: https://chrome-internal-review.googlesource.com/214134
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/experiment_factory_unittest.py')
-rwxr-xr-x | crosperf/experiment_factory_unittest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crosperf/experiment_factory_unittest.py b/crosperf/experiment_factory_unittest.py index e659693a..c483be5f 100755 --- a/crosperf/experiment_factory_unittest.py +++ b/crosperf/experiment_factory_unittest.py @@ -194,7 +194,7 @@ class ExperimentFactoryTest(unittest.TestCase): label_settings_2 = settings_factory.LabelSettings("official_image_label") label_settings_2.SetField("chromeos_root", "chromeos") - label_settings.SetField("build", "official-dev") + label_settings_2.SetField("build", "official-dev") label_settings_2.GetXbuddyPath = FakeGetXbuddyPath mock_experiment_file.all_settings.append (label_settings_2) @@ -207,7 +207,8 @@ class ExperimentFactoryTest(unittest.TestCase): def test_get_default_remotes(self): - board_list = ['x86-zgb', 'x86-alex', 'lumpy', 'stumpy', 'parrot', 'daisy'] + board_list = ['x86-alex', 'lumpy', 'stumpy', 'parrot', 'daisy', 'peach_pit', + 'peppy', 'squawks'] ef = ExperimentFactory() self.assertRaises(Exception, ef.GetDefaultRemotes, 'bad-board') |