def test_none_if_action_is_read(self):
        message = {
            'annotation': {'permissions': {'read': ['group:__world__']}},
            'action': 'read',
            'src_client_id': 'pigeon'
        }
        socket = FakeSocket('giraffe')

        assert messages.handle_annotation_event(message, socket) is None
Testing the DELETE repositories/<id>/ API with no access
dataset/ETHPy150Open hypothesis/h/h/streamer/test/messages_test.py/TestHandleAnnotationEvent.test_none_if_action_is_read--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_repository.py/ResourceItemTests.test_delete_with_no_access