You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/testing_support
Aaron Gable 19ee16c860 Reland "Refactor ReadHttpResponse to be error-friendlier"
Gerrit sometimes returns a full response json object at
the same time as returning a non-200 status code. This
refactor makes it easier for calling code to request
access to that object and handle error cases on its own.

The original version of this commit had a bug where
ReadHttpResponse properly set the default value for
accept_statuses, but all calls which came through
ReadHttpJsonResponse were setting None instead.

Bug: 710028
Change-Id: I8cee435d8acd487fb777b3fd69b5e48e19d2e5a3
Reviewed-on: https://chromium-review.googlesource.com/481060
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>
8 years ago
..
__init__.py
auto_stub.py
coverage_utils.py
fake_repos.py
filesystem_mock.py
gerrit-init.sh
gerrit_test_case.py Reland "Refactor ReadHttpResponse to be error-friendlier" 8 years ago
git_test_utils.py depot_tools: Replace pylint error numbers with symbolic names. 8 years ago
local_rietveld.py
patches_data.py
super_mox.py depot_tools: Replace pylint error numbers with symbolic names. 8 years ago
trial_dir.py