示例#1
0
def test_import_files_BAU(expected):
    assert import_files() == expected
示例#2
0
def test_import_files_BAU_2(subdir, expected):
    assert import_files(subdir=subdir) == expected
示例#3
0
def test_import_files_ValueError_5(path):

    with pytest.raises(ValueError):

        import_files(path=path)
示例#4
0
def test_import_files_ValueError_6(strict):

    with pytest.raises(ValueError):

        import_files(strict=strict)
示例#5
0
def test_import_files_ValueError_4(sheet):

    with pytest.raises(ValueError):

        import_files(sheet=sheet)
示例#6
0
def test_import_files_ValueError_3(doctype):

    with pytest.raises(ValueError):

        import_files(doctype=doctype)
示例#7
0
def test_import_files_ValueError_2(subdir):

    with pytest.raises(ValueError):

        import_files(subdir=subdir)
示例#8
0
def test_import_files_ValueError_1(like):

    with pytest.raises(ValueError):

        import_files(like=like)
示例#9
0
def test_import_files_BAU_3(strict, subdir, expected):
    assert import_files(strict=strict, subdir=subdir) == expected