@xfail
def test_formula_range(db_conn, cards_table):

    card, errors = FormulaCard.insert(db_conn, {
        'unit_id': 'RUF531',
        'name': 'What is?',
        'body': 'Testing 1234',
        'options': [{
            'value': 'x',
            'correct': True,
            'feedback': 'Bazaaa...'
        }],
        'variables': [{'name': 'x'}],
        'default_incorrect_feedback': 'Boo!',
    })
    assert len(errors) == 0
    card, errors = card.update(db_conn, {'range': 0.1})
    assert len(errors) == 0
Expect a formula card to require a range.
dataset/ETHPy150Open heiskr/sagefy/server/test/test_models_cards_formula_card.py/test_formula_range