summaryrefslogtreecommitdiffstats
path: root/deluge/tests/test_torrent.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2019-05-27 15:21:05 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2019-06-05 15:09:40 +0100
commit4212bd68001af30a6c7b2bde7ad923d6c6f69b59 (patch)
tree51bc0c7fb3ec4a169d5ce8199d75c7c46f0dbb90 /deluge/tests/test_torrent.py
parentd40d40af31aa878baf0ec4bf826b89ea6fb1b20b (diff)
downloaddeluge-4212bd68001af30a6c7b2bde7ad923d6c6f69b59.tar.gz
deluge-4212bd68001af30a6c7b2bde7ad923d6c6f69b59.tar.bz2
deluge-4212bd68001af30a6c7b2bde7ad923d6c6f69b59.zip
[Travis] Add unit test for libtorrent 1.2
Skip test_torrent_error_resume_original_state on libtorrent 1.2 as it is failing for an unknown reason. Refs: #3255
Diffstat (limited to 'deluge/tests/test_torrent.py')
-rw-r--r--deluge/tests/test_torrent.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/deluge/tests/test_torrent.py b/deluge/tests/test_torrent.py
index 7bbe79ed8..70fec4771 100644
--- a/deluge/tests/test_torrent.py
+++ b/deluge/tests/test_torrent.py
@@ -216,6 +216,9 @@ class TorrentTestCase(BaseTestCase):
def test_torrent_error_resume_data_unaltered(self):
if windows_check():
raise unittest.SkipTest('unexpected end of file in bencoded string')
+ if lt.__version__.split('.')[1] == '2':
+ raise unittest.SkipTest('Test not working as expected on lt 1.2')
+
resume_data = {
'active_time': 13399,
'num_incomplete': 16777215,