Skip to content

Conversation

felix-e-h-p
Copy link
Contributor

@felix-e-h-p felix-e-h-p commented Sep 18, 2025

Neatening tests - subdirectory per commit for clarity (or thereabouts)

Current focus of removing redundancies, repetitions, reduction of line count etc - and also ensuring fixtures are present in conftest

Feel conftest should be segregated after this - will raise as issue

@felix-e-h-p felix-e-h-p requested a review from dfulu September 19, 2025 08:14
@felix-e-h-p felix-e-h-p marked this pull request as ready for review September 21, 2025 10:31
@felix-e-h-p felix-e-h-p requested a review from Sukh-P September 22, 2025 08:43
Comment on lines 138 to 139
config = load_yaml_configuration(test_config_filename)
nwp_name, _ = next(iter(config.input_data.nwp.root.items()))
Copy link
Member

Choose a reason for hiding this comment

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

Could use the new _load_config_and_provider function here

return cfg, provider


def _revalidate(cfg):
Copy link
Member

Choose a reason for hiding this comment

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

I know it's a small thing but config is clearer than cfg IMO as a parameter name, don't think the few characters saved in abbreviation outweigh the slight less clarity

Copy link
Member

Choose a reason for hiding this comment

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

Also not sure about the function name, not super clear to me

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.

2 participants