From 139dd374ecfd6efd635cb9c1ba4b768ffd40f739 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 25 Aug 2020 13:13:28 +1000 Subject: [PATCH] letsencrypt test: fix email match It seems acme.sh might have been rewriting this with quotes, and has now stopped doing that. Fix the match. Change-Id: I3c363c498580b79a1a9ed07da6ed3ac72807383b --- testinfra/test_letsencrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testinfra/test_letsencrypt.py b/testinfra/test_letsencrypt.py index f7595389c2..532f34ff2d 100644 --- a/testinfra/test_letsencrypt.py +++ b/testinfra/test_letsencrypt.py @@ -138,7 +138,7 @@ def test_acme_sh_config(host): config = host.file('/root/.acme.sh/account.conf') assert config.exists - assert config.contains("^ACCOUNT_EMAIL='le-test@opendev.org'") + assert config.contains("^ACCOUNT_EMAIL=le-test@opendev.org") def test_certcheck_config(host, zuul_data): if host.backend.get_hostname() != 'bridge.openstack.org':