summaryrefslogtreecommitdiff
path: root/tests/test_corrupted_files.py
diff options
context:
space:
mode:
authorjvoisin2018-07-08 22:27:37 +0200
committerjvoisin2018-07-08 22:27:37 +0200
commitf49aa5cab7862466573aea0db3b03a989cf2640b (patch)
treed2d26ab8d932b50ee702adc1d0435f0aabd42ab3 /tests/test_corrupted_files.py
parent52a2c800b7f192c2da07025ae78350d5126e0200 (diff)
Achieve 100% coverage!
Diffstat (limited to 'tests/test_corrupted_files.py')
-rw-r--r--tests/test_corrupted_files.py2
1 files changed, 1 insertions, 1 deletions
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):
80 torrent.TorrentParser('./tests/data/clean.torrent') 80 torrent.TorrentParser('./tests/data/clean.torrent')
81 81
82 with open("./tests/data/clean.torrent", "w") as f: 82 with open("./tests/data/clean.torrent", "w") as f:
83 f.write("d01:AAAAAAAAA") 83 f.write("01:AAAAAAAAA")
84 with self.assertRaises(ValueError): 84 with self.assertRaises(ValueError):
85 torrent.TorrentParser('./tests/data/clean.torrent') 85 torrent.TorrentParser('./tests/data/clean.torrent')
86 86