Exemplo n.º 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"))
Exemplo n.º 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"))
Exemplo n.º 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"))
Exemplo n.º 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"))