diff options
author | Don Garrett <dgarrett@google.com> | 2015-05-29 10:55:46 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-05-30 02:11:03 +0000 |
commit | 304a5b2521775aa6e1ddc850d5853353b7a06a3a (patch) | |
tree | 58f9ac27456095a56fecc4d1aa84786e42bbf5ac /cbuildbot/cbuildbot_config_unittest.py | |
parent | ad333188044af6a8f7f26d3d5fb315475729f628 (diff) | |
download | chromite-304a5b2521775aa6e1ddc850d5853353b7a06a3a.tar.gz |
cbuildbot_config: Get rid of GetDefault().
This method isn't needed anymore, since the default can be fetched
directly from the config_lib.Config object. After this,
cbuildbot_config only has a single method being exported, GetConfig().
BUG=chromium:483566
TEST=run_tests
Change-Id: I8cd56d4dbeb1453346e846225a62528d6f760090
Reviewed-on: https://chromium-review.googlesource.com/274120
Trybot-Ready: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Shuqian Zhao <shuqianz@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>
Diffstat (limited to 'cbuildbot/cbuildbot_config_unittest.py')
-rw-r--r-- | cbuildbot/cbuildbot_config_unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cbuildbot/cbuildbot_config_unittest.py b/cbuildbot/cbuildbot_config_unittest.py index 36598b088..6194b9c4d 100644 --- a/cbuildbot/cbuildbot_config_unittest.py +++ b/cbuildbot/cbuildbot_config_unittest.py @@ -22,7 +22,7 @@ class LoadChromeOsConfigTest(cros_test_lib.TestCase): new = cbuildbot_config.GetConfig() self.assertDictEqual(src.GetDefault(), - cbuildbot_config.GetDefault()) + new.GetDefault()) # # BUG ALERT ON TEST FAILURE |