summaryrefslogtreecommitdiff
path: root/scripts/payload_info_unittest.py
diff options
context:
space:
mode:
authorMarton Hunyady <hunyadym@chromium.org>2018-04-24 18:21:49 +0200
committerchrome-bot <chrome-bot@chromium.org>2018-04-25 23:00:33 -0700
commit2abda314107852176a85008cb94953abbb7f909d (patch)
treeefdc25d82aef20b471ace6572883035e85cbe7f8 /scripts/payload_info_unittest.py
parent89b9a2d738d37fb5352cd9bb3cfe960cc0cdb954 (diff)
update_engine: Refactor omaha_request_action_unittest
This refactoring makes the tests more readable by removing the giant constructor of OmahaRequestParams, while also making it easier to add new parameters to it. This CL is also doing some cleanup (removing unused constant and unimplemented methods, disallowing copy of OmahaRequestParams). BUG=chromium:221851 TEST='cros_run_unit_tests --board=caroline --packages update_engine' Change-Id: I67791443068dfc21d40c6d82fc624ddd2d4c190c Reviewed-on: https://chromium-review.googlesource.com/1026112 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Marton Hunyady <hunyadym@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Sen Jiang <senj@chromium.org>
Diffstat (limited to 'scripts/payload_info_unittest.py')
0 files changed, 0 insertions, 0 deletions