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

rename "user_config" arg to "overrides" #249

Conversation

stevebachmeier
Copy link
Contributor

Title: Rename "user_config" arg to "overrides"

Description

RT requested that when calling psp.get_config(), the user override
argument should be renamed from user_config to overrides.

Testing

integration tests pass

@stevebachmeier stevebachmeier force-pushed the feature/sbachmei/MIC-4376-change-user_config-to-overrides branch from f352737 to ed6bfc7 Compare August 10, 2023 22:29
@@ -163,30 +163,30 @@ def test_loading_from_yaml(tmp_path):


@pytest.mark.parametrize(
"user_config, expected",
"age_differences, expected",
Copy link
Contributor Author

@stevebachmeier stevebachmeier Aug 10, 2023

Choose a reason for hiding this comment

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

Changed the name here b/c we were using user_config as both the parameterized age differences lists as well as the name of the dictionary - it worked but was kinda sketchy

@stevebachmeier stevebachmeier marked this pull request as ready for review August 11, 2023 03:06
Copy link
Contributor

@albrja albrja left a comment

Choose a reason for hiding this comment

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

Hopefully replace all worked for this.

@stevebachmeier
Copy link
Contributor Author

Hopefully replace all worked for this.

It kinda-sorta worked. Lots of manual grepping needed but wasn't too bad

tests/integration/conftest.py Outdated Show resolved Hide resolved
@stevebachmeier stevebachmeier force-pushed the feature/sbachmei/MIC-4376-change-user_config-to-overrides branch from 2966134 to beac5b4 Compare August 11, 2023 18:08
@stevebachmeier stevebachmeier merged commit f917da7 into develop Aug 11, 2023
@stevebachmeier stevebachmeier deleted the feature/sbachmei/MIC-4376-change-user_config-to-overrides branch August 11, 2023 18:36
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.

3 participants