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
Quinten Yearsley 90a67e2fc1 Remove some unused private things in git_cl
There are many functions in git_cl that appear unused, although
it's possible that some of them are used in other places, where
git_cl may be imported as a library.

This CL just removes some of the private ones, which at least
were not supposed to be used from other places.

Things removed here:

 - _get_commiter_timestamp
 - _git_amend_head
 - GitCookiesChecker._get_usernames_of_domain
 - constants MERGE_BRANCH, CHERRY_PICK_BRANCH;
   the comment says that these are supposed to
   be used in CMDland, but apparently they aren't.
   contextlib which is only used by this, is also
   removed
 - CodereviewSettingsFileMock in git_cl_test;
   it is not used anywhere in the test, and I
   assume that nobody's importing and using
   git_cl_test...

git_cl_test still passes, git cl seems to still work

Change-Id: Ib8eee0dfb181c8cda04c0894d2daea52b3ad42ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1818621
Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
6 years ago
..
gstools
OWNERS [ninjalog_uploader] add tests 7 years ago
auth_test.py [auth] cache LUCI_CONTEXT local_auth parameters. 7 years ago
bot_update_coverage_test.py Revert "Reland "depot_tools: Move six to depot_tools' .vpython"" 6 years ago
cipd_bootstrap_test.py [cipd] Add presubmit support for checking *.digests file. 7 years ago
download_from_google_storage_unittest.py Convert print statements to Python 3 style 6 years ago
fix_encoding_test.py Fix invalid Python file encoding "utf8" 6 years ago
gclient_eval_unittest.py Add support for multi argument ands and ors, and the same precedence with 6 years ago
gclient_scm_test.py tests/gclient_scm_test.py: Fix invalid escape sequences in regex strings 6 years ago
gclient_smoketest.py gclient: Fix gclient Python 3 errors and add to presubmit tests. 6 years ago
gclient_test.py depot_tools: Fix flaky gclient_test test. 6 years ago
gclient_utils_test.py gclient_utils: Fix bug in CheckCallAndFilter in Python 3. 6 years ago
git_cache_test.py depot_tools: Make git_cache Python 3 compatible. 6 years ago
git_cl_creds_check_report.txt
git_cl_test.py Remove some unused private things in git_cl 6 years ago
git_common_test.py Convert print statements to Python 3 style 6 years ago
git_dates_test.py
git_drover_test.py Reland "Use core.quotePath=false when git is listing files" 8 years ago
git_footers_test.py Let git_footers split final paragraphs in specific cases 8 years ago
git_hyper_blame_test.py git_hyper_blame_test: Fix pylint issue. 7 years ago
git_number_test.py
git_rebase_update_test.py Revert "Fix semantics of git new-branch --upstream" 7 years ago
gsutil_test.py download_from_google_storage: Fix tests and rename 8 years ago
metrics_test.py depot_tools: Run some tests on Python 3 on the bots. 6 years ago
ninjalog_uploader_test.py [ninjalog] fully anonymize build stats before sending 7 years ago
owners_finder_test.py Skip files owned by reviewers when quering for missing owners. 8 years ago
owners_unittest.py owners: add owners_rooted_at_file() 6 years ago
presubmit_unittest.py Allow TBR for CLs with approved changes to OWNERS files 6 years ago
recipes_test.py [recipes] Remove deprecated (ignored) --use-bootstrap flag 7 years ago
roll_dep_test.py roll-dep: Use gclient setdep/getdep. 7 years ago
scm_unittest.py depot_tools: Run some tests on Python 3 on the bots. 6 years ago
subprocess2_test.py depot_tools: Run some tests on Python 3 on the bots. 6 years ago
upload_to_google_storage_unittest.py Convert except statements to be Python 3 compatible 6 years ago
watchlists_unittest.py depot_tools: Make watchlist tests use mock and remove pymox. 6 years ago