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