#NEWLINE# def test_annotation_read_jsonld( self , app , annotation ) : #NEWLINE# #INDENT# 'Fetch an annotation by ID in jsonld format.' #NEWLINE# res = app . get ( ( ( '/api/annotations/' + annotation . id ) + '.jsonld' ) ) #NEWLINE# data = self . json #NEWLINE# assert ( data [ '@context' ] == 'http://www.w3.org/ns/anno.jsonld' ) #NEWLINE# assert ( data [ 'id' ] == ( 'http://localhost/a/' + annotation . id ) )