from honeybadger.fake_connection import send_notice

from testfixtures import log_capture
import json

@log_capture()
def test_send_notice_logging(l):
    config = {'api_key': 'aaa'}
    payload = json.dumps({'test': 'payload'})

    send_notice(config, payload)

    l.check(
        ('honeybadger.fake_connection', 'INFO', 'Using a fake connection. Will not make a real call to Honeybadger API'),
        ('honeybadger.fake_connection', 'INFO', 'The config used is {} with paylod {}'.format(config, payload)))

@@ -323,77 +323,104 @@
 ', '
-Using a fake connection. Will not make a real call to Honeybadger API
+Development mode is enabled; this error will be reported if it occurs after you deploy your app.
 '),%0A
@@ -456,28 +456,29 @@
 nnection', '
-INFO
+DEBUG
 ', 'The conf

Fix test.