def test_user_create_failed(db_conn, users_table):
    """
    Ensure a user will fail to create when invalid.
    """

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