bots: Fix test failure for Baremetrics bot.
MODIFY
zulip_bots/zulip_bots/bots/baremetrics/baremetrics.py
zulip_bots/zulip_bots/bots/baremetrics/baremetrics.py
@@ -33,7 +33,7 @@ class BaremetricsHandler(object):
test_query_data = test_query_response.json()
try:
- if test_query_data['error'] == "Unauthorized. Token not found":
+ if test_query_data['error'] == "Unauthorized. Token not found (001)":
bot_handler.quit('API Key not valid. Please see doc.md to find out how to get it.')
except KeyError:
pass

bots: Fix test failure for Baremetrics bot.