コード例 #1
0
ファイル: test_ll_os_path.py プロジェクト: Debug-Orz/Sypy
def test_exists():
    filename = impl.to_rstr(str(py.path.local(__file__)))
    assert impl.ll_os_path_exists(filename) == True
    assert not impl.ll_os_path_exists(impl.to_rstr(
        "strange_filename_that_looks_improbable.sde"))
コード例 #2
0
ファイル: test_ll_os_path.py プロジェクト: e2pluginss/plexnet
def test_exists():
    filename = impl.to_rstr(str(py.magic.autopath()))
    assert impl.ll_os_path_exists(filename) == True
    assert not impl.ll_os_path_exists(impl.to_rstr(
        "strange_filename_that_looks_improbable.sde"))
コード例 #3
0
ファイル: test_ll_os_path.py プロジェクト: antoine1fr/pygirl
def test_exists():
    filename = impl.to_rstr(str(py.magic.autopath()))
    assert impl.ll_os_path_exists(filename) == True
    assert not impl.ll_os_path_exists(impl.to_rstr(
        "strange_filename_that_looks_improbable.sde"))
コード例 #4
0
ファイル: test_ll_os_path.py プロジェクト: xx312022850/pypy
def test_exists():
    filename = impl.to_rstr(str(py.path.local(__file__)))
    assert impl.ll_os_path_exists(filename) == True
    assert not impl.ll_os_path_exists(
        impl.to_rstr("strange_filename_that_looks_improbable.sde"))