def test_user_log_in_none(db_conn, users_table):
    """
    Ensure a user can't log in if no user by name.
    """

    request = {
        'params': {'name': 'test', 'password': 'abcd1234'},
        'db_conn': db_conn
    }
    code, response = routes.user.log_in_route(request)
    assert response in 'errors'
dataset/ETHPy150Open heiskr/sagefy/server/test/test_routes_user.py/test_user_log_in_none/swapped operands of `in`