git-repo/tests
Daniel Kutik 880c621dc6 tests: test_subcmds_sync.py: fix for py3.6 & 3.7
tests/test_subcmds_sync.py::LocalSyncState::test_prune_removed_projects
was failing in Python 3.6 and 3.7 due to topdir not being set with the
following error message:
    TypeError: expected str, bytes or os.PathLike object, not MagicMock

topdir is accessed from within PruneRemovedProjects().

Test: tox with Python 3.6 to 3.11
Change-Id: I7ba5144df0a0126c01776384e2178136c3510091
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/382816
Reviewed-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Daniel Kutik <daniel.kutik@lavawerk.com>
Tested-by: Daniel Kutik <daniel.kutik@lavawerk.com>
2023-09-13 18:24:04 +00:00
..
fixtures git_config: Fixed test.gitconfig getting updated when running tests. 2021-09-30 21:45:09 +00:00
conftest.py Format codebase with black and check formatting in CQ 2023-03-22 17:46:28 +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 isort: format codebase 2023-08-22 18:32:22 +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 tests: test_git_superproject.py: fix py3.6 & 3.7 2023-09-13 18:23:40 +00:00
test_git_trace2_event_log.py Prefix error events with RepoErrorEvent: 2023-08-07 18:14:40 +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 logging: Use log.formatter for coloring logs 2023-09-06 18:07:55 +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