Ejemplo n.º 1
0
 def test_true(self):
     res = extern.does_external_program_run('true', True)
     self.assertTrue(res)
Ejemplo n.º 2
0
 def test_garbage(self):
     res = extern.does_external_program_run('asdkfjadskl', True)
     self.assertFalse(res)
Ejemplo n.º 3
0
 def test_true(self):
     res = extern.does_external_program_run('true', True)
     self.assertTrue(res)
Ejemplo n.º 4
0
 def test_garbage(self):
     res = extern.does_external_program_run('asdkfjadskl', True)
     self.assertFalse(res)
Ejemplo n.º 5
0
def test_does_run_garbage_verbose() -> None:
    res = extern.does_external_program_run("asdkfjadskl", 2)
    assert not res
Ejemplo n.º 6
0
def test_does_run_true() -> None:
    res = extern.does_external_program_run("true", 1)
    assert res