~ubuntuone-hackers/conn-check/trunk

« back to all changes in this revision

Viewing changes to conn_check/checks.py

  • Committer: Tarmac
  • Author(s): Wes Mason
  • Date: 2014-11-26 13:38:34 UTC
  • mfrom: (88.1.9 output-ordering)
  • Revision ID: tarmac-20141126133834-nervbevnamyx921a
[r=james-w] Add buffered output with clearer ordering of output (failed first, skipped last, grouped results)

Show diffs side-by-side

added added

removed removed

Lines of Context:
259
259
                    "Unexpected response code: {}".format(
260
260
                                               response.status_code))
261
261
 
262
 
    subchecks.append(make_check('http:{}'.format(url), do_request,
 
262
    subchecks.append(make_check('', do_request,
263
263
                     info='{} {}'.format(method, url)))
264
 
    return sequential_check(subchecks)
 
264
    return add_check_prefix('http:{}'.format(url),
 
265
                            sequential_check(subchecks))
265
266
 
266
267
 
267
268
def make_amqp_check(host, port, username, password, use_tls=True, vhost="/",