# Path: honeybadger/fake_connection.py
# def send_notice(config, payload):
#     logger.info('Development mode is enabled; this error will be reported if it occurs after you deploy your app.')
#     logger.debug('The config used is {} with payload {}'.format(config, payload))


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'}

# Path: honeybadger/fake_connection.py
# def send_notice(config, payload):
#     logger.info('Development mode is enabled; this error will be reported if it occurs after you deploy your app.')
#     logger.debug('The config used is {} with payload {}'.format(config, payload))


# Path: honeybadger/tests/test_fake_connection.py
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'})