diff --git a/qa/L0_logging/log_format_test.py b/qa/L0_logging/log_format_test.py index fc7d9fb29e..4df1b7a936 100644 --- a/qa/L0_logging/log_format_test.py +++ b/qa/L0_logging/log_format_test.py @@ -303,10 +303,7 @@ def test_log_format(self, log_format, format_regex): time.sleep(1) self._server_process.kill() self._server_process.wait() - if format_regex: - self.verify_log_format( - self._server_options["log-file"], format_regex, escaped - ) + self.verify_log_format(self._server_options["log-file"], format_regex, escaped) def foo_test_injection(self): try: