From f8f010e469180215844df0723b70334c6945fac1 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Thu, 30 Mar 2023 11:20:24 +0200 Subject: [PATCH] tests/http: fix log formatting on wrong exit code Closes #10868 --- tests/http/testenv/curl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/http/testenv/curl.py b/tests/http/testenv/curl.py index 22a8ffb6eb..98c1bd4ab8 100644 --- a/tests/http/testenv/curl.py +++ b/tests/http/testenv/curl.py @@ -162,7 +162,7 @@ class ExecResult: def check_exit_code(self, code: int): assert self.exit_code == code, \ f'expected exit code {code}, '\ - 'got {self.exit_code}\n{self._dump_logs()}' + f'got {self.exit_code}\n{self._dump_logs()}' def check_exit_code_not(self, code: int): assert self.exit_code != code, \