Esempio n. 1
0
def test_executable_exists__rel_path__is_non_executable():
    assert not executable_exists("tests/data/empty_file_1")
Esempio n. 2
0
def test_executable_exists__full_path__is_non_executable():
    assert not executable_exists("/etc/fstab")
Esempio n. 3
0
def test_executable_exists__rel_path__is_executable():
    assert executable_exists("tests/unit/run")
Esempio n. 4
0
def test_executable_exists__non_executable():
    assert not executable_exists("lsxxxx")
Esempio n. 5
0
def test_executable_exists__full_path__is_executable():
    assert executable_exists("/bin/ls")
Esempio n. 6
0
def test_executable_exists__rel_path__is_non_executable():
    assert not executable_exists("tests/data/empty_file_1")
Esempio n. 7
0
def test_executable_exists__executable():
    assert executable_exists("ls")
Esempio n. 8
0
def test_executable_exists__rel_path__is_executable():
    assert executable_exists("tests/unit/run")
Esempio n. 9
0
def test_executable_exists__full_path__is_non_executable():
    assert not executable_exists("/etc/fstab")
Esempio n. 10
0
def test_executable_exists__full_path__is_executable():
    assert executable_exists("/bin/ls")
Esempio n. 11
0
def test_executable_exists__non_executable():
    assert not executable_exists("lsxxxx")
Esempio n. 12
0
def test_executable_exists__executable():
    assert executable_exists("ls")