check_patch_attrs
Check for expected attributes.
Parameters
Parameter | Description |
---|---|
patch | The patch to validate |
required_attrs | The expected attrs. Can be a sequence or mapping. If sequence, only check that attrs exist. If mapping also check that values are equal. |