def test_extra(self):
        annotation = Annotation({
            'id': 'AVLBpz--vTW_3w8LyzKg',
            'created': '2016-02-08T16:11:49.576908+00:00',
            'updated': '2016-02-08T16:11:49.576908+00:00',
            'user': 'luke',
            'group': '__world__',
            'uri': 'https://example.com',
            'text': 'My comment',
            'tags': ['look'],
            'target': [{'source': 'https://example.com',
                        'selector': []}],
            'references': ['Qe7fpc5ZRgWy0RSHEP9UNg'],
            'permissions': {'read': ['group:__world__'],
                            'admin': ['luke'],
                            'update': ['luke'],
                            'delete': ['luke']},
            'document': {'title': 'Example'},
            'somethingelse': 'foo',
            'extra': {'foo': 'bar'}})
        assert annotation.extra == {'somethingelse': 'foo', 'extra': {'foo': 'bar'}}
dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py/TestAnnotation.test_extra/original