Exemplo n.º 1
0
def test_avialable_when_program_exists():
    p = BasePinger(program_path="ls")
    assert p.is_available() == True
Exemplo n.º 2
0
def test_avialable_when_program_exists():
    p = BasePinger(program_path="ls")
    assert p.is_available() == True
Exemplo n.º 3
0
def test_avialable_when_program_does_not_exist():
    p = BasePinger(program_path="not_exist")
    assert p.is_available() == False
Exemplo n.º 4
0
def test_avialable_when_program_does_not_exist():
    p = BasePinger(program_path="not_exist")
    assert p.is_available() == False