[LNT] r210128 - Updated smoketests to cover more of the web interface
Chris Matthews
chris.matthews at apple.com
Sun Jun 8 21:45:38 PDT 2014
No I did not. Thanks!
> On Jun 8, 2014, at 9:36 PM, Justin Bogner <mail at justinbogner.com> wrote:
>
> 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