def METHOD_NAME(self):
    METADATA = [{"PATO:0000122": {"value": 25, "unit": "thou"}}]
    self.assertRaises(
        ValueError, import_sample_attributes, "SRR123", METADATA, self.contribution
    )
    METADATA = [{"length": {"value": 25, "unit": "UO:0010012"}}]
    self.assertRaises(
        ValueError, import_sample_attributes, "SRR123", METADATA, self.contribution
    )