def test_hash_stdin_implicit(self):
        """test hashing of stdin without arg"""
        output = self.run_command("echo test | sha1sum", exitcode=0).replace("\n", "")
        expected = "4e1243bd22c66e76c2ba9eddc1f91394e57f9f83"
        self.assertEqual(output, expected)
test hashing of stdin without arg
tests/sha1sum/test_sha1sum.py