From e0298e4e974216816246b761000ded1cdce1e692 Mon Sep 17 00:00:00 2001 From: Alex Zorin Date: Tue, 16 Feb 2021 09:37:25 +1100 Subject: [PATCH] try fix -oldest lock_test.py --- tests/lock_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/lock_test.py b/tests/lock_test.py index 2ecc8f5e8..dda318131 100644 --- a/tests/lock_test.py +++ b/tests/lock_test.py @@ -215,7 +215,8 @@ def check_error(command, dir_path): if ret == 0: report_failure("Certbot didn't exit with a nonzero status!", out, err) - match = re.search("See the logfile '(.*)' ", err) + # this regex looks weird in order to deal with a text change between HEAD and -oldest + match = re.search("ee the logfile '(.*)' ", err) if match is not None: # Get error output from more verbose logfile with open(match.group(1)) as f: