def test_test_multi_fail_arg2(state, arg2):
    with pytest.raises(TF):
        cl.multi(state, passes, arg2)
def test_test_multi_fail_arg1(state, arg1):
    with pytest.raises(TF):
        cl.multi(state, arg1)
Beispiel #3
0
def test_multi_fail(state):
    with pytest.raises(TF):
        multi(state, lambda s: has_code(s, "some code abc"))
def test_test_multi_pass_one(state, arg1, arg2):
    cl.multi(state, arg1, arg2)
Beispiel #5
0
def test_multi(state):
    multi(state, lambda s: has_code(s, "some code"))