Skip to content
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

Allow testing IClick-extensions #5178

Merged
merged 1 commit into from
Jan 28, 2020
Merged

Conversation

smotornyuk
Copy link
Member

Provide with_extended_cli fixture, which extends the effect of config patching on test level to CLI. Previously, CLI was using config files directly for initialization, so any changes to global config were ignored. Now, during tests, load_cofig function is monkey-patched and returns available config object instead of the re-parsing config file.

@wardi wardi merged commit f4b820b into ckan:master Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants