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
Josip Sokcevic 091f5ac0a6 Use real default branch in gclient
Currently, gclient sync assumes the default branch is master, and
it doesn't work at all if such branch doesn't exist. This change queries
local git copy to get remote HEAD. If local git version is not
available, it queries remote git server using ls-remote.

This change requires git version 2.28 (depot_tools comes with 2.29).

R=ehmaldonado@chromium.org

Bug: 1156318
Change-Id: Id348e0f1004093f395139e8f4d62adb66b94ca9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2628359
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
4 years ago
..
gstools
OWNERS [ninjalog_uploader] add tests 6 years ago
auth_test.py Run spellchecker on depot_tools 5 years ago
bot_update_coverage_test.py Check PACKFILE_OFFLOADING env variable 4 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 Use real default branch in gclient 4 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 update stale codereview.chromium.org links 4 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 add support for main in git_cache 4 years ago
git_cl_creds_check_report.txt git cl: remove check for likely wrong identities. 5 years ago
git_cl_test.py owners: Initialize db lazily. 4 years ago
git_common_test.py Fix testRebase 4 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_migrate_default_branch_test.py Add git-migrate-default-branch 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. 5 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_client_test.py owners: Move constants inside OwnersClient. 4 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 Revert "presubmit: Use new API to check for owners approval" 4 years ago
rdb_wrapper_test.py [resultdb] use requests.Session in rdb_wrapper 4 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 Use real default branch in gclient 4 years ago
subcommand_test.py Move subcommand_test to py3 5 years ago
subprocess2_test.py [subprocess2] Replace VOID with DEVNULL 4 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