def _publish_annotation_event(request, annotation, action):
    event = AnnotationEvent(request, annotation, action)
    request.registry.notify(event)
Testing creation from HEX.
dataset/ETHPy150Open hypothesis/h/h/api/views.py/_publish_annotation_event--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/gis/geos/tests/test_geos.py/GEOSTest.test_create_hex