-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coverage for cumulus.cli.cci #708
Conversation
Some changes that warrant special attention: - Moved global functions taking an initial 'config' param from cci.py to become methods of the CliConfig class - Removed the unused 'e' arg for handle_exception_debug - Made render_recursive handle lists better. - Stop passing the return from render_recursive to click.echo, because it takes care of echoing itself. - Make check_latest_version handle its own exceptions - Removed unused --extend option for `project init` - Removed unimplemented project_list and project_cd commands - Don't echo scratch org expiration when using `org info` with the --json flag - Delegate check for whether an org can be deleted to a `can_delete` method on the org config - Remove unused --delete option for `org scratch` - Fix exception handling for `org scratch_delete - Simplify exception handling for `task run` and `flow run`
Looks like I need to work on a few test failures; I'll let you know when this is ready for review. |
Okay I think I've resolved those failures. |
cumulusci/cli/tests/test_cci.py
Outdated
@@ -224,6 +225,7 @@ def test_project_init(self, click): | |||
run_click_command(cci.project_init, obj=config) | |||
|
|||
# Make sure expected files/dirs were created | |||
print recursive_list_files() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use python3 friendly print fn plz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heh, this was just meant for temporary debugging anyway. Will remove.
This one's a bit of a doozy. Some changes that warrant special attention:
project init
org info
with the --json flagcan_delete
method on the org configorg scratch
task run
andflow run