switch plug and slot names in integration test

This commit is contained in:
Erica Portnoy 2020-07-21 18:31:52 -07:00
parent 223ae53ad9
commit 87a63c0d2c

View file

@ -38,8 +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', 'connect', snap_name + ':certbot-metadata',
'certbot:certbot-metadata',])
subprocess.check_call(['snap', 'install', '--dangerous', dns_snap_path])
finally:
subprocess.call(['snap', 'remove', 'plugin_name'])