def METHOD_NAME(
    self, first: str, second: str, msg: Optional[str] = None
) -> None:
    root = self.repo_dir + os.path.sep
    second = second.format(root=root)
    self.assertEqual(first, second, msg)