'Test the community to receive a signature request and a signature response message.'

def test_receive_signature_request_and_response(self):

    (node, other) = self.create_nodes(2)
    TestTrustChainCommunity.create_block(node, other, self._create_target(node, other), {'id': 42})
    self.assertBlocksInDatabase(other, 2)
    self.assertBlocksInDatabase(node, 2)
    self.assertBlocksAreEqual(node, other)
    block = node.call(node.community.persistence.get_latest, node.community.my_member.public_key)
    linked = node.call(node.community.persistence.get_linked, block)
    self.assertIsNotNone(block.transaction)
    self.assertIsNotNone(linked.transaction)
    self.assertNotEquals(linked, None)
    block = other.call(other.community.persistence.get_latest, other.community.my_member.public_key)
    linked = other.call(other.community.persistence.get_linked, block)
    self.assertNotEquals(linked, None)
