'Test the get_statistics method where a last block exists'

def test_get_statistics_for_not_self(self):

    (node, other) = self.create_nodes(2)
    transaction = {'up': 10, 'down': 5}
    TestTriblerChainCommunity.create_block(node, other, self._create_target(node, other), transaction)
    statistics = node.community.get_statistics(public_key=other.community.my_member.public_key)
    assert isinstance(statistics, dict), type(statistics)
    assert (len(statistics) > 0)
