summaryrefslogtreecommitdiffstats
path: root/deluge/tests/test_torrent.py
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2017-12-16 17:29:30 +0000
committerCalum Lind <calumlind@gmail.com>2017-12-16 17:29:30 +0000
commit7787aa975f123736862c6307af72ebae477a290a (patch)
treebb967590c68b6281508a446ab8d28281b0c67707 /deluge/tests/test_torrent.py
parentc13622a1e6dac394bde235197b113780f05443ac (diff)
downloaddeluge-7787aa975f123736862c6307af72ebae477a290a.tar.gz
deluge-7787aa975f123736862c6307af72ebae477a290a.tar.bz2
deluge-7787aa975f123736862c6307af72ebae477a290a.zip
Delay assert in test_torrent for Travis
Diffstat (limited to 'deluge/tests/test_torrent.py')
-rw-r--r--deluge/tests/test_torrent.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/tests/test_torrent.py b/deluge/tests/test_torrent.py
index de334f87e..6e9445f7a 100644
--- a/deluge/tests/test_torrent.py
+++ b/deluge/tests/test_torrent.py
@@ -121,6 +121,7 @@ class TorrentTestCase(BaseTestCase):
torrent_id = self.core.add_torrent_file(filename, filedump, options)
torrent = self.core.torrentmanager.torrents[torrent_id]
+ time.sleep(0.5) # Delay to wait for lt to finish check on Travis.
self.assert_state(torrent, 'Seeding')
# Force an error by reading (non-existant) piece from disk