From f49aa5cab7862466573aea0db3b03a989cf2640b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 8 Jul 2018 22:27:37 +0200 Subject: Achieve 100% coverage! --- tests/test_corrupted_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/test_corrupted_files.py b/tests/test_corrupted_files.py index 2bb1c76..20b1efa 100644 --- a/tests/test_corrupted_files.py +++ b/tests/test_corrupted_files.py @@ -80,7 +80,7 @@ class TestCorruptedFiles(unittest.TestCase): torrent.TorrentParser('./tests/data/clean.torrent') with open("./tests/data/clean.torrent", "w") as f: - f.write("d01:AAAAAAAAA") + f.write("01:AAAAAAAAA") with self.assertRaises(ValueError): torrent.TorrentParser('./tests/data/clean.torrent') -- cgit v1.3