check_archive_tree_class_invariants#
- lsst.images.tests.check_archive_tree_class_invariants(tree_type)#
Assert that one concrete
serialization.ArchiveTreesubclass declares well-formed schema-version constants and an in-memory type.Checks that
SCHEMA_NAME,SCHEMA_VERSION,MIN_READ_VERSIONandPUBLIC_TYPEare present and well-typed, that the version ismajor.minor.patch, and thatMIN_READ_VERSIONdoes not exceed the schema major.- Parameters:
tree_type (
type[ArchiveTree]) – The concreteserialization.ArchiveTreesubclass to check.- Return type: