[LNT] r210128 - Updated smoketests to cover more of the web interface
Justin Bogner
mail at justinbogner.com
Sun Jun 8 21:36:36 PDT 2014
Chris Matthews <cmatthews5 at apple.com> writes:
> +
> +def check_code(client, url, expected_code=200):
> + # Fetch the index page.
I don't think you meant to move this comment to here.
> + resp = client.get(url, follow_redirects=False)
> + assert resp.status_code == expected_code, \
> + "Call to %s returned: %d, not the expected %d"%(url, resp.status_code, expected_code)
> +
More information about the llvm-commits
mailing list