Exemple #1
0
def test_target_rule(dg):

    assert limits.target_based_rule(dg, [], 't1') == True
    assert limits.target_based_rule(dg, ['t1'], 't2') == False
Exemple #2
0
def test_target_rule(dg):

    assert limits.target_based_rule(dg, [], 't1') is True
    assert limits.target_based_rule(dg, ['t1'], 't2') is False
Exemple #3
0
def test_target_rule(dg, t1, t2):
    assert limits.target_based_rule(dg, [], t1)
    assert limits.target_based_rule(dg, [t1], t2) is False