diff options
author | Chase Sterling <chase.sterling@gmail.com> | 2022-01-26 00:02:38 -0500 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-01-26 18:44:47 +0000 |
commit | a41f950d09cf2b4377eccc9b0537b9f6cdc1165f (patch) | |
tree | adcdddf856c1fe91c427b242fe7fd526a0544063 /deluge/tests/test_torrent.py | |
parent | 209716f7cd99a1e7aead0bd975b8a41067cffec5 (diff) | |
download | deluge-a41f950d09cf2b4377eccc9b0537b9f6cdc1165f.tar.gz deluge-a41f950d09cf2b4377eccc9b0537b9f6cdc1165f.tar.bz2 deluge-a41f950d09cf2b4377eccc9b0537b9f6cdc1165f.zip |
[Tests] Enable more tests that now work on Windows
Diffstat (limited to 'deluge/tests/test_torrent.py')
-rw-r--r-- | deluge/tests/test_torrent.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/deluge/tests/test_torrent.py b/deluge/tests/test_torrent.py index 8d22403fc..99069f9c9 100644 --- a/deluge/tests/test_torrent.py +++ b/deluge/tests/test_torrent.py @@ -17,7 +17,7 @@ import deluge.component as component import deluge.core.torrent import deluge.tests.common as common from deluge._libtorrent import lt -from deluge.common import VersionSplit, utf8_encode_structure, windows_check +from deluge.common import VersionSplit, utf8_encode_structure from deluge.core.core import Core from deluge.core.rpcserver import RPCServer from deluge.core.torrent import Torrent @@ -173,8 +173,6 @@ class TorrentTestCase(BaseTestCase): # self.print_priority_list(priorities) def test_torrent_error_data_missing(self): - if windows_check(): - raise unittest.SkipTest('unexpected end of file in bencoded string') options = {'seed_mode': True} filename = common.get_test_data_file('test_torrent.file.torrent') with open(filename, 'rb') as _file: @@ -191,8 +189,6 @@ class TorrentTestCase(BaseTestCase): self.assert_state(torrent, 'Error') def test_torrent_error_resume_original_state(self): - if windows_check(): - raise unittest.SkipTest('unexpected end of file in bencoded string') options = {'seed_mode': True, 'add_paused': True} filename = common.get_test_data_file('test_torrent.file.torrent') with open(filename, 'rb') as _file: @@ -212,8 +208,6 @@ class TorrentTestCase(BaseTestCase): torrent.force_recheck() def test_torrent_error_resume_data_unaltered(self): - if windows_check(): - raise unittest.SkipTest('unexpected end of file in bencoded string') if VersionSplit(lt.__version__) >= VersionSplit('1.2.0.0'): raise unittest.SkipTest('Test not working as expected on lt 1.2 or greater') |