def test_which(): ok_(which("ls")) ok_(not which("llll"))
def test_which(): assert which("ls") assert not which("llll")