def clear_messages(identity):
    BackendMessage.objects.filter(identity=identity,
                                  name=BACKEND_NAME).delete()
:return: A ``Deferred`` that fires when all protocols which have been
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/contrib/httptester/storage.py/clear_messages--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/ca/functional/test_validation.py/WaitForDisconnectsFactory.wait_for_disconnects