def test_annotation_read_jsonld(self, app, annotation):
        res = app.get('/api/annotations/' + annotation.id + '.jsonld')
        data = res.json
        assert data['@context'] == 'http://www.w3.org/ns/anno.jsonld'
        assert data['id'] == 'http://localhost/a/' + annotation.id
Fetch an annotation by ID in jsonld format.
dataset/ETHPy150Open hypothesis/h/tests/functional/test_api.py/TestAPI.test_annotation_read_jsonld