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
Stephanie Kim b677e98529 Reland "Reland "Add optional enforce_fetch kwarg to fetch and refresh git cache""
This is a reland of 3774c589cb

Added missing options.enforce_fetch arg

Confirmed via a fake test roll with this CL's patch commit that the
bot_update step passes with this change:
https://chromium-review.googlesource.com/c/chromium/tools/build/+/2443649

Original change's description:
> Reland "Add optional enforce_fetch kwarg to fetch and refresh git cache"
>
> This is a reland of f38f54f2f1
>
> Original change's description:
> > Add optional enforce_fetch kwarg to fetch and refresh git cache
> >
> > Allows builders to do a force refresh of the git cache to ensure a new
> > fetch happens. android-binary-size needs this to get an accurate diff
> > of the passed in src revision and the applied patch:
> > https://bugs.chromium.org/p/chromium/issues/detail?id=1129235#c19
> >
> > Bug: 1129235
> > Change-Id: I993521cdde2a491fc9d42d75ff28dedcd2cea64e
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2438802
> > Commit-Queue: Stephanie Kim <kimstephanie@google.com>
> > Reviewed-by: Josip Sokcevic <sokcevic@google.com>
>
> Bug: 1129235
> Change-Id: I034a91a8b57821d08b10042f7fc94d32350540ba
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2443235
> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
> Commit-Queue: Stephanie Kim <kimstephanie@google.com>

Bug: 1129235
Change-Id: Ibbd4535f8529243d2dc1d4d32881d8a61efe374a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2443574
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Stephanie Kim <kimstephanie@google.com>
5 years ago
..
gstools Scripts to download files from google storage based on sha1 sums 12 years ago
OWNERS [ninjalog_uploader] add tests 7 years ago
auth_test.py Run spellchecker on depot_tools 5 years ago
bot_update_coverage_test.py Reland "Reland "Add optional enforce_fetch kwarg to fetch and refresh git cache"" 5 years ago
cipd_bootstrap_test.py [cipd] Take cipd.ps1 out of %PATH%. 5 years ago
detect_host_arch_test.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
download_from_google_storage_unittest.py Print the SHA of files downloaded from GS 5 years ago
fetch_test.py Add unit tests for fetch.py 5 years ago
fix_encoding_test.py Use assertEqual() rather than assertEquals() in Python tests. 6 years ago
gclient_cipd_smoketest.py depot_tools: Split gclient_smoketests. 5 years ago
gclient_eval_unittest.py Reland "Add a Str() function to gclient for use in DEPS files." 5 years ago
gclient_git_smoketest.py gclient: Make gclient_gn_args_file honor use_relative_paths 5 years ago
gclient_paths_test.py depot_tools: Add tests for gclient_paths 5 years ago
gclient_scm_test.py gclient: Preserve ANSI color codes when calling hooks. 5 years ago
gclient_smoketest.py depot_tools: Split gclient_smoketests. 5 years ago
gclient_smoketest_base.py Run spellchecker on depot_tools 5 years ago
gclient_test.py gclient: deprecated use_relative_hooks 5 years ago
gclient_transitions_smoketest.py depot_tools: Split gclient_smoketests. 5 years ago
gclient_utils_test.py gclient: Preserve ANSI color codes when calling hooks. 5 years ago
gerrit_client_test.py Add gerrit_client unit tests 5 years ago
gerrit_util_test.py ReadHttpResponse: Handle 429s with retries and adjust retry count 5 years ago
git_cache_test.py Reland "Use OS level locking in git_cache.py" 5 years ago
git_cl_creds_check_report.txt Add support for git_cl_tests on Windows platform 5 years ago
git_cl_test.py Support main as default branch 5 years ago
git_common_test.py Modify git map-branches to show the number of commits on a branch 5 years ago
git_dates_test.py Use assertEqual() rather than assertEquals() in Python tests. 6 years ago
git_drover_test.py Decode the returned encoded bytes of subprocess.check_all/check_output. 5 years ago
git_find_releases_test.py Add unit tests for git_find_releases 5 years ago
git_footers_test.py Use rstrip when getting footer tags 5 years ago
git_hyper_blame_test.py Add support for git_hyper_blame for Windows 5 years ago
git_map_test.py git-map: Refactor and add simple tests 5 years ago
git_number_test.py depot_tools: Run auth, cipd_bootstrap, git_number tests on python3. 6 years ago
git_rebase_update_test.py git-rebase-update: Make tests run on Python 3. 6 years ago
gsutil_test.py depot_tools: Make gsutil compatible with python3. 6 years ago
lockfile_test.py Reland "Use OS level locking in git_cache.py" 5 years ago
metrics_test.py Adding AIX 5 years ago
my_activity_test.py Run spellchecker on depot_tools 5 years ago
ninjalog_uploader_test.py [ninjalog] fully anonymize build stats before sending 6 years ago
owners_finder_test.py Fix slash direction sensitivity in git cl owners 5 years ago
owners_unittest.py Run spellchecker on depot_tools 5 years ago
presubmit_unittest.py Changed naming convention 5 years ago
rdb_wrapper_test.py Changed naming convention 5 years ago
recipes_test.py [recipes] Remove deprecated (ignored) --use-bootstrap flag 6 years ago
roll_dep_test.py Fix Python3 integer division issue in roll-dep. 5 years ago
scm_unittest.py Reland "git-cl: Remove unused and duplicate functions." 5 years ago
subcommand_test.py Move subcommand_test to py3 5 years ago
subprocess2_test.py Add win support for subprocess2 unit tests 5 years ago
upload_to_google_storage_unittest.py gsutil: Decode output from subprocess. 6 years ago
watchlists_unittest.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago