def METHOD_NAME(self, url):
    slug = "foo-bar"
    requests.get(url)
    requests.post(url, data={"slug": slug})
    data = parse_qs(HTTPretty.last_request.body)
    self.assertEqual(data["slug"], slug)
    self.strategy.session_set("slug", data["slug"])
    return slug