mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 15:22:38 -04:00
Check that refresh is allowed in integration test
This commit is contained in:
parent
7a59f9077b
commit
253d8d27de
1 changed files with 3 additions and 0 deletions
|
|
@ -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'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue