Add is_testing info and mirror the moved endpoints so we can migrate safely.

This commit is contained in:
Joseph Schorr 2015-01-20 16:58:29 -05:00
parent b74b7de197
commit 1cce87b136
2 changed files with 6 additions and 1 deletions

View file

@ -51,7 +51,8 @@ class HealthCheck(object):
data = {
'services': service_statuses,
'notes': notes
'notes': notes,
'is_testing': self.app.config['TESTING']
}
return (data, 200 if is_healthy else 503)