mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
certbot-ci: improve tests for update_account/show_account
This commit is contained in:
parent
5c111d0bd1
commit
cf63470db9
1 changed files with 5 additions and 0 deletions
|
|
@ -78,7 +78,12 @@ def test_registration_override(context: IntegrationTestsContext) -> None:
|
|||
context.certbot(['register', '--email', 'ex1@domain.org,ex2@domain.org'])
|
||||
|
||||
context.certbot(['update_account', '--email', 'example@domain.org'])
|
||||
stdout, _ = context.certbot(['show_account'])
|
||||
assert 'example@domain.org' in stdout, "New email should be present"
|
||||
context.certbot(['update_account', '--email', 'ex1@domain.org,ex2@domain.org'])
|
||||
stdout, _ = context.certbot(['show_account'])
|
||||
assert 'example@domain.org' not in stdout, "Old email should not be present"
|
||||
assert 'ex1@domain.org, ex2@domain.org' in stdout, "New emails should be present"
|
||||
|
||||
|
||||
def test_prepare_plugins(context: IntegrationTestsContext) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue