Beispiel #1
0
def test_items_rule(dg):

    assert limits.items_rule(dg, ['1']*99, '2')
    assert limits.items_rule(dg, ['1']*99, '2', limit=10) == False
Beispiel #2
0
def test_items_rule(dg):

    assert limits.items_rule(dg, ['1'] * 99, '2')
    assert limits.items_rule(dg, ['1'] * 99, '2', limit=10) is False
Beispiel #3
0
def test_items_rule(dg):
    assert limits.items_rule(dg, [t1] * 99, t2)
    assert limits.items_rule(dg, [t1] * 99, t2, limit=10) is False