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/tests
Raphael Kubo da Costa 377d251f10 Make download_from_google_storage_unittest.py work with Python 3.
Make sure we use bytes and strings in the appropriate places:
* Call decode() when reading data from a file since we are then treating the
  data as a string.
* Make the GsutilsMock expectations use bytes rather than strings, as the
  non-mock version ultimately calls subprocess.Popen.communicate() in a mode
  that returns bytes, not strings.

Bug: 984182, 1007872
Change-Id: I7e03e404889d66f0f7cb77bbdbbfa9f7c5721657
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1859997
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
5 years ago
..
gstools
OWNERS
auth_test.py Use assertEqual() rather than assertEquals() in Python tests. 5 years ago
bot_update_coverage_test.py Use assertEqual() rather than assertEquals() in Python tests. 5 years ago
cipd_bootstrap_test.py
download_from_google_storage_unittest.py Make download_from_google_storage_unittest.py work with Python 3. 5 years ago
fix_encoding_test.py Use assertEqual() rather than assertEquals() in Python tests. 5 years ago
gclient_eval_unittest.py
gclient_scm_test.py
gclient_smoketest.py
gclient_test.py Reland "gclient_utils: buffer output as bytestrings in Annotated" 5 years ago
gclient_utils_test.py Reland "gclient_utils: buffer output as bytestrings in Annotated" 5 years ago
git_cache_test.py
git_cl_creds_check_report.txt
git_cl_test.py Use assertEqual() rather than assertEquals() in Python tests. 5 years ago
git_common_test.py git-common: Explicitly specify utf-8 when encoding. 5 years ago
git_dates_test.py Use assertEqual() rather than assertEquals() in Python tests. 5 years ago
git_drover_test.py
git_footers_test.py
git_hyper_blame_test.py git-hyper-blame: Make tests run on Python 3. 5 years ago
git_number_test.py git-number: Make tests run on Python 3. 5 years ago
git_rebase_update_test.py Use assertEqual() rather than assertEquals() in Python tests. 5 years ago
gsutil_test.py Use assertEqual() rather than assertEquals() in Python tests. 5 years ago
metrics_test.py
ninjalog_uploader_test.py
owners_finder_test.py
owners_unittest.py Use assertEqual() rather than assertEquals() in Python tests. 5 years ago
presubmit_unittest.py python3 improvements 5 years ago
recipes_test.py
roll_dep_test.py
scm_unittest.py
subprocess2_test.py
upload_to_google_storage_unittest.py upload_to_google_storage_unittest.py: Make StringIO usage Python 3-compatible 5 years ago
watchlists_unittest.py