From 253d8d27ded2e4c319b65284163a125d4213824e Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Tue, 21 Jul 2020 16:55:26 -0700 Subject: [PATCH] Check that refresh is allowed in integration test --- certbot-ci/snap_integration_tests/dns_tests/test_main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/certbot-ci/snap_integration_tests/dns_tests/test_main.py b/certbot-ci/snap_integration_tests/dns_tests/test_main.py index ef133dc59..6e79cc2e7 100644 --- a/certbot-ci/snap_integration_tests/dns_tests/test_main.py +++ b/certbot-ci/snap_integration_tests/dns_tests/test_main.py @@ -38,5 +38,8 @@ def test_dns_plugin_install(dns_snap_path): assert plugin_name in subprocess.check_output(['certbot', 'plugins', '--prepare'], universal_newlines=True) + subprocess.check_call(['snap', 'connect', 'certbot:certbot-metadata', + snap_name + ':certbot-metadata']) + subprocess.check_call(['snap', 'install', '--dangerous', dns_snap_path]) finally: subprocess.call(['snap', 'remove', 'plugin_name'])