Beispiel #1
0
 def test_text_file_binary(self):
     r"""File with ``\n`` (LF) newlines as binary (MD5 has ``\n``)."""
     self.assertEqual(
         file_md5(self.correct_file_name_unix_nl),
         self.correct_md5sum,
         msg="MD5 sums different",
     )
Beispiel #2
0
 def test_text_file_binary(self):
     r"""File with ``\n`` (LF) newlines as binary (MD5 has ``\n``)."""
     self.assertEqual(file_md5(self.correct_file_name_unix_nl), self.correct_md5sum, msg="MD5 sums different")