

def test_target_selectors(self):
    annotation = Annotation({
        'target': [{
            'selector': [{
                'foo': 'bar',
            }],
        }],
    })
    assert (annotation.target_selectors == [{
        'foo': 'bar',
    }])

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