Beispiel #1
0
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"))
Beispiel #2
0
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"))
Beispiel #3
0
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"))
Beispiel #4
0
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"))