예제 #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