Пример #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