def register(client, username, password, confirm_password):
  """ Fires a post request to the register route """
  return client.post("/register", data=dict(
    username = username,
    password = password,
    confirm_password = confirm_password
  ), follow_redirects=True)