git-repo/tests
Sam Saccone d686365449 Extract env building into a testable helper.
Previously env dict building was untested and mixed with other mutative
actions. Extract the dict building into a dedicated function and author
tests to ensure the functionality is working as expected.

BUG: b/255376186
BUG: https://crbug.com/gerrit/16247
Change-Id: I0c88e53eb285c5c3fb27f8e6b3a903aedb8e02a8
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/351874
Reviewed-by: LaMont Jones <lamontjones@google.com>
Tested-by: Sam Saccone <samccone@google.com>
2022-11-16 18:26:49 +00:00
..
fixtures git_config: Fixed test.gitconfig getting updated when running tests. 2021-09-30 21:45:09 +00:00
test_editor.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
test_error.py error: fix pickling of all exceptions 2021-02-19 20:06:03 +00:00
test_git_command.py Extract env building into a testable helper. 2022-11-16 18:26:49 +00:00
test_git_config.py Set tracing to always on and save to .repo/TRACE_FILE. 2022-11-03 21:07:07 +00:00
test_git_superproject.py Set tracing to always on and save to .repo/TRACE_FILE. 2022-11-03 21:07:07 +00:00
test_git_trace2_event_log.py trace: allow writing traces to a socket 2022-03-16 17:33:07 +00:00
test_hooks.py strip python2-only coding:utf-8 & print_function settings 2021-01-06 18:53:05 +00:00
test_manifest_xml.py Set tracing to always on and save to .repo/TRACE_FILE. 2022-11-03 21:07:07 +00:00
test_platform_utils.py make file removal a bit more robust 2021-09-28 16:06:50 +00:00
test_project.py Set tracing to always on and save to .repo/TRACE_FILE. 2022-11-03 21:07:07 +00:00
test_ssh.py ssh: rewrite proxy management for multiprocessing usage 2021-05-10 21:16:06 +00:00
test_subcmds_init.py tests: fix init subcmd after url change 2021-02-25 17:07:11 +00:00
test_subcmds_sync.py sync: clear preciousObjects when set in error. 2022-11-03 23:01:16 +00:00
test_subcmds.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
test_update_manpages.py update-manpages: explicitly strip color codes 2022-11-14 23:46:43 +00:00
test_wrapper.py tests: switch to tempfile.TemporaryDirectory 2022-05-20 11:38:10 +00:00
update_manpages.py tests: Fix update-manpages test. 2022-11-16 16:53:49 +00:00