def test_empty_echo(self): p = processes.Process('echo', ['-n']) self.assertEqual('', p.read()) self.assertRaises(processes.DeadProcess, p.read)
def skip_test_005_run_apachebench(self): url = 'http://localhost:12346/' # ab is apachebench out = processes.Process(find_command('ab'), ['-c','64','-n','1024', '-k', url]) print out.read()