Skip to content

Commit

Permalink
Make file downloader test more stable
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Nov 11, 2016
1 parent 526949b commit 78f0da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsfiledownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _make_download(self, url, destination, cancel=False):
downloader.downloadExited.connect(loop.quit)

if cancel:
QTimer.singleShot(1000, downloader.onDownloadCanceled)
downloader.downloadProgress.connect(downloader.onDownloadCanceled)

loop.exec_()

Expand Down

0 comments on commit 78f0da2

Please sign in to comment.