

def test_parent_id_returns_none_if_empty_references(self):
    annotation = Annotation(references=[])
    assert (annotation.parent_id is None)

dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py TestAnnotation.test_parent_id_returns_none_if_empty_references/original