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

Global config improvement #610

Merged
merged 5 commits into from
Mar 15, 2019
Merged

Global config improvement #610

merged 5 commits into from
Mar 15, 2019

Conversation

iky
Copy link
Contributor

@iky iky commented Mar 11, 2019

Nameko 2.X backward compatible passing of custom config arguments to container_factory and runner_factory test helpers. Config patch is applied if a config dictionary is passed to these factories.


container_factory_fixture = container_factory_fixture()

container_factory = next(container_factory_fixture)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be easier to understand these tests if they used the testdir.runpytest approach like the other tests in this module. Is there a reason not to do that here?

@iky iky force-pushed the global-config branch 4 times, most recently from 030f8f7 to 66b78ca Compare March 14, 2019 16:33
Copy link
Member

@mattbennett mattbennett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic. Thank you @iky

@iky iky merged commit 9f5a32a into v3.0.0-rc Mar 15, 2019
@iky iky deleted the global-config branch March 15, 2019 15:03
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