'After a request is sent, a node should update its totals.'

def test_block_values_after_request(self):

    (node, other) = self.create_nodes(2)
    transaction = {'up': 10, 'down': 5}
    node.call(node.community.sign_block, self._create_target(node, other), other.my_member.public_key, transaction)
    block = node.call(TriblerChainBlock.create, transaction, node.community.persistence, node.community.my_member.public_key)
    self.assertEqual(20, block.transaction['total_up'])
    self.assertEqual(10, block.transaction['total_down'])
