git-repo/tests
Peter Kjellerstedt 0d130d2da0 tests: Make the tests pass for Python < 3.8
Before Python 3.8, xml.dom.minidom sorted the attributes of an element
when writing it to a file, while later versions output the attributes
in the order they were created. Avoid these differences by sorting the
attributes for each element before comparing the generated manifests
with the expected ones.

This corresponds to commit 5d58c18, but for new tests introduced since
it was integrated.

Change-Id: I5c360656a0968e6e8d57eb068c8e87da7dfa61c1
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/349917
Reviewed-by: LaMont Jones <lamontjones@google.com>
2022-10-28 17:26:48 +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 ssh: move all ssh logic to a common place 2021-05-06 19:09:16 +00:00
test_git_config.py git_config: Fixed test.gitconfig getting updated when running tests. 2021-09-30 21:45:09 +00:00
test_git_superproject.py Omit local_manifest groups from superproject override. 2022-07-15 23:32:24 +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 tests: Make the tests pass for Python < 3.8 2022-10-28 17:26:48 +00:00
test_platform_utils.py make file removal a bit more robust 2021-09-28 16:06:50 +00:00
test_project.py tests: switch to tempfile.TemporaryDirectory 2022-05-20 11:38:10 +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: refactor use of self.manifest 2022-04-14 22:24:04 +00:00
test_subcmds.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
test_wrapper.py tests: switch to tempfile.TemporaryDirectory 2022-05-20 11:38:10 +00:00