def _account_for_test(config=None, db=None):
    from tinymail.account import Account
    if config in None:
        config = {
            'name': 'my test account',
            'host': 'test_host',
            'login_name': 'test_username',
            'login_pass': 'test_password',
        }
    if db is None:
        db = MagicMock()
    return Account(config, db)
dataset/ETHPy150Open mgax/tinymail/src/tinymail/tests/test_account.py/_account_for_test/operator `is` -> `in`