def test_stdin_read(self):
        """test 'echo test | cowsay' printing 'test'"""
        output = self.run_command("echo test | cowsay", exitcode=0)
        self.assertIn("test", output)
        self.assertNotIn("Hello, World!", output)
test 'echo test | cowsay' printing 'test'
tests/misc/test_cowsay.py