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