Exemplo n.º 1
0
def test_file_search_BAU(doctype, like, strict, expected):
    assert file_search(doctype=doctype, like=like, strict=strict) == expected
Exemplo n.º 2
0
def test_file_search_ValueError_4(strict):

    with pytest.raises(ValueError):

        file_search(strict=strict)
Exemplo n.º 3
0
def test_file_search_ValueError_2(path):

    with pytest.raises(ValueError):

        file_search(path=path)
Exemplo n.º 4
0
def test_file_search_ValueError_3(doctype):

    with pytest.raises(ValueError):

        file_search(doctype=doctype)
Exemplo n.º 5
0
def test_file_search_ValueError_1(like):

    with pytest.raises(ValueError):

        file_search(like=like)