Beispiel #1
0
def test_variance_model_find_by_variance_id_fail(db_session):
    variance = Variance.find_by_variance_id(42)
    assert variance is None
Beispiel #2
0
def test_variance_model_find_by_variance_id(db_session):
    init_variance_id = VarianceFactory().variance_id

    variance = Variance.find_by_variance_id(init_variance_id)
    assert variance.variance_id == init_variance_id