git-repo/tests
Raman Tenneti 4f88206178 trace2_event: Add remove_prefix to fix failing tests on Linux & macOS.
removeprefix is available i python 3.9. Mac and Linux are running in
a version below 3.9. Thus tests are failing with the following error:
  "AttributeError: 'str' object has no attribute 'removeprefix' "

Replaced the removeprefix with custom function which we will delete
once Linux and macOS versions are updated.

Tested:
$ ./run_tests

Bug: [google internal] b/201453085
Change-Id: I9b4d564ff1176e1b4471805ef05472c1914cd9f9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/319375
Tested-by: Raman Tenneti <rtenneti@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
2021-09-29 21:24:59 +00:00
..
fixtures sync: Log repo sync state events as 'data' events. 2021-09-14 21:36:12 +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 sync: Remove '_' from the repo.syncstate.* keys when saved to config. 2021-07-29 22:41:57 +00:00
test_git_superproject.py superproject: support a new revision attribute. 2021-09-27 06:36:05 +00:00
test_git_trace2_event_log.py trace2_event: Add remove_prefix to fix failing tests on Linux & macOS. 2021-09-29 21:24:59 +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 Add 'dest-path' to extend-project to support changing path 2021-09-28 20:12:00 +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: Make ReviewableBranchTests.test_smoke work with git < 2.28.0 2021-04-14 16:22:52 +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.py subcmds: force consistent help text format 2021-05-04 16:40:53 +00:00
test_wrapper.py tests: fix duplicate method from copy & paste error 2021-03-04 16:17:11 +00:00