tests: clean up repo_trace._TRACE_FILE patching

Patch this automatically for all tests rather than duplicating the
boilerplate in diff testcases.

Change-Id: I391d5c859974cda3d5680d34ede2ce6e9e925838
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/354358
Reviewed-by: Joanna Wang <jojwang@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
Mike Frysinger
2022-12-08 08:55:54 -05:00
parent 0ab6b11688
commit e815286492
6 changed files with 25 additions and 29 deletions

View File

@ -20,7 +20,6 @@ import os
import shutil
import subprocess
import sys
import repo_trace
def find_pytest():