Skip to content

Commit

Permalink
Update class lists in .test_model
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Jan 9, 2024
1 parent f520d59 commit 367fef4
Showing 1 changed file with 40 additions and 7 deletions.
47 changes: 40 additions & 7 deletions sdmx/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"NameableArtefact",
"VersionableArtefact",
"MaintainableArtefact",
"ActionType",
"ConstraintRoleType",
"FacetValueType",
"ExtendedFacetValueType",
"Item",
"ItemScheme",
"FacetType",
Expand Down Expand Up @@ -51,12 +55,8 @@
"SeriesKey",
"CodingFormat",
"Level",
"Hierarchy",
"HierarchicalCode",
"ItemAssociation",
"CodeMap",
"ItemSchemeMap",
"CodelistMap",
"StructureSet",
"ConstraintRole",
"ConstrainableArtefact",
"SelectionValue",
Expand Down Expand Up @@ -112,6 +112,9 @@
"Observation",
"StructureSpecificDataSet",
"MetadataStructureDefinition",
"TextAttributeValue",
"XHTMLAttributeValue",
"MetadataSet",
]

V21_ONLY = [
Expand All @@ -125,9 +128,32 @@
"GenericDataSet",
"GenericTimeSeriesDataSet",
"StructureSpecificTimeSeriesDataSet",
"ReportingCategory",
"ReportingTaxonomy",
"TargetObject",
"DataSetTarget",
"DimensionDescriptorValuesTarget",
"IdentifiableObjectTarget",
"ReportPeriodTarget",
"MetadataTarget",
"ReportStructure",
"MetadataStructureDefinition",
"MetadataflowDefinition",
"Hierarchy",
"TargetObjectValue",
"TargetReportPeriod",
"TargetIdentifiableObject",
"TargetObjectKey",
"ReportedAttribute",
"EnumeratedAttributeValue",
"NonEnumeratedAttributeValue",
"OtherNonEnumeratedAttributeValue",
"MetadataReport",
"HierarchicalCodelist",
"ItemAssociation",
"CodeMap",
"ItemSchemeMap",
"CodelistMap",
"StructureSet",
]

V30_ONLY = [
Expand All @@ -144,14 +170,21 @@
"MetadataProviderScheme",
"Measure",
"Dataflow", # Instead of DataflowDefinition
"Hierarchy",
"HierarchyAssociation",
"DataflowRelationship",
"MeasureRelationship",
"ObservationRelationship",
"DataConstraint",
"MetadataConstraint",
"MetadataAttributeDescriptor",
"IdentifiableObjectSelection",
"MetadataStructureDefinition",
"Metadataflow", # Instead of MetadataflowDefinition
"MetadataAttributeValue",
"CodedMetadataAttributeValue",
"UncodedMetadataAttributeValue",
"OtherUncodedAttributeValue",
"TargetIdentifiableObject",
]


Expand Down

0 comments on commit 367fef4

Please sign in to comment.