def __init__(self, path: Path, get_client: Callable, verbose: bool
) -> None:
+ self._path = path
self._get_client = get_client
self._verbose = verbose
self._print_on_fail: list[str] = []
bump_int_fields(int(insert_args[2]))
return [(c[0], c[1]) for c in candidates]
- self._lines_t = lines_t_from_file(path)
+ self._lines_t = lines_t_from_file(self._path)
inserted_files: set[str] = set()
while True:
fragments: dict[str, tuple[tuple[str, str], ...]] = {}
except AssertionError as e:
for line in self._print_on_fail:
print(line)
+ print(f'FAILED: {self._path}')
raise e
def _play_till_test(self) -> None: