コード例 #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"))