ccao-data / data-architecture

Codebase for CCAO data infrastructure construction and management
https://ccao-data.github.io/data-architecture/
5 stars 3 forks source link

Tweak `res_class_matches_pardat` generic test to add pardat join kwargs #390

Closed jeancochrane closed 2 months ago

jeancochrane commented 2 months ago

This PR makes a small modification to the res_class_matches_pardat generic test in order to support the test spec in https://github.com/ccao-data/data-architecture/issues/328.

We add two new optional kwargs to the generic interface:

The combination of these two new kwargs will allow us to filter a test for only those rows whose corresponding pardat class is "EX". This is demonstrated in a dweldat test that can be generalized to addn, asmt_all, oby, and land in order to complete https://github.com/ccao-data/data-architecture/issues/328.