Skip to content

Conversation

@elichad
Copy link
Contributor

@elichad elichad commented Jan 5, 2026

Quality of life improvement :) A couple of times now I have found myself wanting to be able to pass in validation settings that aren't explicitly listed as args in do_entity_test. This is a small change that enables additional validation settings to be passed through easily.

An example of how I would use this: https://github.com/eScienceLab/rocrate-validator/blob/0501f2ce1d9d5f5e5d4d9503c98391c2c4758cdf/tests/integration/profiles/five-safes-crate/test_valid_5src.py#L89

Some auto-fomatting changes were also made with black. The lines I changed manually are just the ones where kwargs are mentioned.

@elichad elichad changed the title Allow do_entity_test to accept arbitrary settings Allow do_entity_test to accept arbitrary validation settings Jan 5, 2026
@kikkomep
Copy link
Member

kikkomep commented Jan 7, 2026

LGTM

@kikkomep kikkomep merged commit 49aa212 into crs4:develop Jan 7, 2026
2 checks passed
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