diff --git a/tests/infra/clients.py b/tests/infra/clients.py index 2e89480575e2..629cd81f3998 100644 --- a/tests/infra/clients.py +++ b/tests/infra/clients.py @@ -161,7 +161,7 @@ def __str__(self): if self.headers: string += f" {truncate(str(self.headers), max_len=25)}" if self.body is not None: - string += f' {truncate(f"{self.body}")}' + string += escape_loguru_tags(f' {truncate(f"{self.body}")}') return string