Exemplo n.º 1
0
def test_import_files_BAU(expected):
    assert import_files() == expected
Exemplo n.º 2
0
def test_import_files_BAU_2(subdir, expected):
    assert import_files(subdir=subdir) == expected
Exemplo n.º 3
0
def test_import_files_ValueError_5(path):

    with pytest.raises(ValueError):

        import_files(path=path)
Exemplo n.º 4
0
def test_import_files_ValueError_6(strict):

    with pytest.raises(ValueError):

        import_files(strict=strict)
Exemplo n.º 5
0
def test_import_files_ValueError_4(sheet):

    with pytest.raises(ValueError):

        import_files(sheet=sheet)
Exemplo n.º 6
0
def test_import_files_ValueError_3(doctype):

    with pytest.raises(ValueError):

        import_files(doctype=doctype)
Exemplo n.º 7
0
def test_import_files_ValueError_2(subdir):

    with pytest.raises(ValueError):

        import_files(subdir=subdir)
Exemplo n.º 8
0
def test_import_files_ValueError_1(like):

    with pytest.raises(ValueError):

        import_files(like=like)
Exemplo n.º 9
0
def test_import_files_BAU_3(strict, subdir, expected):
    assert import_files(strict=strict, subdir=subdir) == expected