projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix potential race condition
[osm/SO.git]
/
common
/
python
/
test
/
utest_url_downloader.py
diff --git
a/common/python/test/utest_url_downloader.py
b/common/python/test/utest_url_downloader.py
index
0a16c45
..
379f3c9
100755
(executable)
--- a/
common/python/test/utest_url_downloader.py
+++ b/
common/python/test/utest_url_downloader.py
@@
-87,7
+87,7
@@
class UrlTestCase(unittest.TestCase):
1. Cancel for a download and clean up of the downloaded file.
2. Model attributes (Process percent, detail, status)
"""
1. Cancel for a download and clean up of the downloaded file.
2. Model attributes (Process percent, detail, status)
"""
- url = "http://speedtest.ftp.otenet.gr/files/test1Mb.db"
+ url = "http://speedtest.ftp.otenet.gr/files/test1
0
Mb.db"
url_dwld = downloader.UrlDownloader(url)
loop = asyncio.get_event_loop()
fut = loop.run_in_executor(None, url_dwld.download)
url_dwld = downloader.UrlDownloader(url)
loop = asyncio.get_event_loop()
fut = loop.run_in_executor(None, url_dwld.download)