diff --git a/ceo/cli/cloud.py b/ceo/cli/cloud.py index cae1650..26da873 100644 --- a/ceo/cli/cloud.py +++ b/ceo/cli/cloud.py @@ -28,6 +28,11 @@ def activate(): 'Congratulations! Your cloud account has been activated.', f'You may now login into https://cloud.{base_domain} with your CSC credentials.', "Make sure to enter 'Members' for the domain (no quotes).", + '', + 'Please note that your cloud account will be PERMANENTLY DELETED when', + 'your CSC membership expires, so make sure to purchase enough membership', + 'terms in advance. You will receive a warning email one week before your', + 'cloud account is deleted, so please make sure to check your Junk folder.', ] for line in lines: click.echo(line) diff --git a/tests/ceo/cli/test_cloud.py b/tests/ceo/cli/test_cloud.py index c44fe9c..b313cab 100644 --- a/tests/ceo/cli/test_cloud.py +++ b/tests/ceo/cli/test_cloud.py @@ -17,6 +17,11 @@ def test_cloud_account_activate(cli_setup, mock_cloud_server, new_user, cfg): 'Congratulations! Your cloud account has been activated.\n' f'You may now login into https://cloud.{base_domain} with your CSC credentials.\n' "Make sure to enter 'Members' for the domain (no quotes).\n" + '\n' + 'Please note that your cloud account will be PERMANENTLY DELETED when\n' + 'your CSC membership expires, so make sure to purchase enough membership\n' + 'terms in advance. You will receive a warning email one week before your\n' + 'cloud account is deleted, so please make sure to check your Junk folder.\n' ) assert result.exit_code == 0 assert result.output == expected