-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1589 from iory/redownload
[jsk_data] Add re-download code. Fix #1574
- Loading branch information
Showing
2 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
from nose.tools import assert_true | ||
|
||
from jsk_data.download_data import download_data | ||
|
||
|
||
def test_download_data_0(self): | ||
succeeded = download_data( | ||
pkg_name=PKG, | ||
path='trained_data/drill_svm.xml', | ||
url='https://drive.google.com/uc?id=0B5hRAGKTOm_KWW11R0FTX0xjTDg', | ||
md5='762d0da4bcbf50e0e92939372988901a', | ||
quiet=quiet, | ||
) | ||
assert_true(succeeded) |