'Test the sign_block function with a missing member'

def test_sign_block_missing_member(self):

    def mocked_publish_sig(*_):
        raise DelayPacketByMissingMember(node.community, ('a' * 20))
    (node, other) = self.create_nodes(2)
    other.send_identity(node)
    target_other = self._create_target(node, other)
    node.community.dispersy.store_update_forward = mocked_publish_sig
    node.call(node.community.sign_block, target_other, other.my_member.public_key, {'id': 42})
