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
Raul Tambre e9730d75a0 subprocess2: Ensure environment keys and values are strings on Python 3
Example error during "git cl upload":
Traceback (most recent call last):
  File "C:\Google\depot_tools\presubmit_support.py", line 220, in CallCommand
    returncode, stdout = self._RunWithTimeout(cmd, test.stdin, test.kwargs)
  File "C:\Google\depot_tools\presubmit_support.py", line 204, in _RunWithTimeout
    p = subprocess.Popen(cmd, **kwargs)
  File "C:\Google\depot_tools\subprocess2.py", line 143, in __init__
    super(Popen, self).__init__(args, **kwargs)
  File "C:\Google\depot_tools\bootstrap-3_8_0b1_chromium_1_bin\python\bin\Lib\subprocess.py", line 390, in __init__
    errread, errwrite)
  File "C:\Google\depot_tools\bootstrap-3_8_0b1_chromium_1_bin\python\bin\Lib\subprocess.py", line 640, in _execute_child
    startupinfo)
TypeError: environment can only contain strings

Bug: 984182
Change-Id: Id996d73a80845aaeaa061107ed123627091cb600
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1815872
Commit-Queue: Raul Tambre <raul@tambre.ee>
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Auto-Submit: Raul Tambre <raul@tambre.ee>
5 years ago
..
gstools
OWNERS [ninjalog_uploader] add tests 7 years ago
auth_test.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
bot_update_coverage_test.py Allow the bot_update api to not fetch tags from the git server. 6 years ago
cipd_bootstrap_test.py depot_tools: Run auth, cipd_bootstrap, git_number tests on python3. 6 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 gsutil: Decode output from subprocess. 6 years ago
fix_encoding_test.py Use assertEqual() rather than assertEquals() in Python tests. 6 years ago
gclient_eval_unittest.py Add support for multi argument ands and ors, and the same precedence with 6 years ago
gclient_paths_test.py depot_tools: Add tests for gclient_paths 5 years ago
gclient_scm_test.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
gclient_smoketest.py gclient: Make smoketests run on Windows. 6 years ago
gclient_test.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
gclient_utils_test.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
gerrit_util_test.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
git_cache_test.py Allow the bot_update api to not fetch tags from the git server. 6 years ago
git_cl_creds_check_report.txt git cl creds-check: improve report and give better recommendation. 8 years ago
git_cl_test.py Re-land "git-cl: Fix format --dry-run not working with --full." 5 years ago
git_common_test.py Default to origin's default branch instead of always origin/master. 6 years ago
git_dates_test.py Use assertEqual() rather than assertEquals() in Python tests. 6 years ago
git_drover_test.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
git_footers_test.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
git_hyper_blame_test.py git-hyper-blame: Simplify code and tests. 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
metrics_test.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
ninjalog_uploader_test.py [ninjalog] fully anonymize build stats before sending 6 years ago
owners_finder_test.py Randomize results of git cl owners 6 years ago
owners_unittest.py depot_tools: Make owners tests run on Python 3 6 years ago
presubmit_unittest.py Reland "presubmit_canned_checks: Run pylint on parent directory for depot_tools." 5 years ago
recipes_test.py [recipes] Remove deprecated (ignored) --use-bootstrap flag 6 years ago
roll_dep_test.py depot_tools: Run roll_dep tests on Python 3. 6 years ago
scm_unittest.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago
subcommand_test.py subcommand: Add tests. 5 years ago
subprocess2_test.py subprocess2: Ensure environment keys and values are strings on Python 3 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