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