git-repo/tests
Chris Allen 7393f6bc41 manifest_xml: Fix empty project list when DOCTYPE is present
When parsing the manifest XML, the code looks for a top
level DOM node named "manifest". However, it doesn't check
that it's an element type node so if there is also an XML
document type declaration node present (which has the same
name as the root element) then it selects the wrong node
and hence you end up with no projects defined at all.

Change-Id: I8d101caffbbc2a06e56136ff21302e3f09cfc96b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390357
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Chris Allen <chris.allen@arm.com>
Commit-Queue: Chris Allen <chris.allen@arm.com>
2023-10-20 18:22:59 +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 delete Python 2 (object) compat 2023-10-20 04:51:01 +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_xml: Fix empty project list when DOCTYPE is present 2023-10-20 18:22:59 +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 project: using --depth results in error when including submanifests 2023-10-20 12:34:34 +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