'Posting a pointer to /update (in the form {"pointer": pointer}) changes
the pointer we store for your UserProfile.'

def test_update_pointer(self):

    self.login(self.example_email('hamlet'))
    self.assertEqual(self.example_user('hamlet').pointer, (-1))
    msg_id = self.send_message(self.example_email('othello'), 'Verona', Recipient.STREAM)
    result = self.client_post('/json/users/me/pointer', {'pointer': msg_id})
    self.assert_json_success(result)
    self.assertEqual(self.example_user('hamlet').pointer, msg_id)
