def test_hash_stdin_explicit(self):
        """test hashing of stdin with '-' arg"""
        output = self.run_command("echo test | sha256sum -", exitcode=0).replace("\n", "")
        expected = "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2"
        self.assertEqual(output, expected)
test hashing of stdin with '-' arg
tests/sha256sum/test_sha256sum.py