'Verifies access of token before and after revoking'

def verify_revoke_token(self, token):

    self._assert_access_token_is_valid()
    response = self.client.post(self.revoke_token_url, self.revoke_token_post_body(token))
    self.assertEqual(response.status_code, 200)
    self._assert_access_token_invalidated()
    self._assert_refresh_token_invalidated()
