Esempio n. 1
0
def test_is_executable__rel_path__is_executable():
    assert is_executable("tests/unit/run")
Esempio n. 2
0
def test_is_executable__rel_path__is_non_executable():
    assert not is_executable("tests/data/empty_file_1")
Esempio n. 3
0
def test_is_executable__full_path__is_executable():
    assert is_executable("/bin/ls")
Esempio n. 4
0
def test_is_executable__full_path__is_non_executable():
    assert not is_executable("/etc/fstab")
Esempio n. 5
0
def test_is_executable__rel_path__is_non_executable():
    assert not is_executable("tests/data/empty_file_1")
Esempio n. 6
0
def test_is_executable__rel_path__is_executable():
    assert is_executable("tests/unit/run")
Esempio n. 7
0
def test_is_executable__full_path__is_non_executable():
    assert not is_executable("/etc/fstab")
Esempio n. 8
0
def test_is_executable__full_path__is_executable():
    assert is_executable("/bin/ls")
Esempio n. 9
0
def test_is_executable__full_path__folder_is_non_executable():
    assert not is_executable("/etc")