Shouldn't this be an assertion? If len(result.stdout) is <= 0 then the test is never run and we get a false positive...