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

    with pytest.raises(ValueError):

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

    with pytest.raises(ValueError):

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

    with pytest.raises(ValueError):

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

    with pytest.raises(ValueError):

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

    with pytest.raises(ValueError):

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

    with pytest.raises(ValueError):

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