git-repo/tests
Jason R. Coombs 024df06ec1 tests: Set HOME to a temporary directory when running tests.
When running the tests in my environment, tests that derived from `test_wrapper.GitCheckoutTestCase` would fail on commit or tag due to incomplete or incorrect gpg config. Ideally, the tests should not be dependent on the user's git config. This change ensures $HOME (or Windows equivalent) is replaced for the session.

Bug: 302797407

Change-Id: Ib42b712dd7b6602fee6e18329a8c6d52fb9458b9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/388235
Tested-by: Jason R. Coombs <jaraco@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Jason R. Coombs <jaraco@google.com>
2023-10-17 15:15:55 +00:00
..
fixtures git_config: Fixed test.gitconfig getting updated when running tests. 2021-09-30 21:45:09 +00:00
conftest.py tests: Set HOME to a temporary directory when running tests. 2023-10-17 15:15:55 +00:00
test_editor.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
test_error.py isort: format codebase 2023-08-22 18:32:22 +00:00
test_git_command.py git_command: Augment underlying git errors with suggestions 2023-10-06 18:21:45 +00:00
test_git_config.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
test_git_superproject.py Use non-deprecated API for obtaining UTC time 2023-09-18 23:59:37 +00:00
test_git_trace2_event_log.py Use non-deprecated API for obtaining UTC time 2023-09-18 23:59:37 +00:00
test_hooks.py isort: format codebase 2023-08-22 18:32:22 +00:00
test_manifest_xml.py manifest: enable remove-project using path 2023-06-21 14:50:16 +00:00
test_platform_utils.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
test_project.py isort: format codebase 2023-08-22 18:32:22 +00:00
test_repo_logging.py main: Use repo logger 2023-09-18 20:06:30 +00:00
test_repo_trace.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
test_ssh.py Parse OpenSSH versions with no SSH_EXTRAVERSION 2023-05-24 17:33:08 +00:00
test_subcmds_init.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
test_subcmds_sync.py tests: test_subcmds_sync.py: fix for py3.6 & 3.7 2023-09-13 18:24:04 +00:00
test_subcmds_upload.py isort: format codebase 2023-08-22 18:32:22 +00:00
test_subcmds.py tests: do not allow underscores in cli options 2023-04-19 02:53:37 +00:00
test_update_manpages.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +00:00
test_wrapper.py tweak stdlib imports to follow Google style guide 2023-08-22 18:22:49 +00:00