summaryrefslogtreecommitdiff
path: root/src/python/test/test_remote_datasets.py
diff options
context:
space:
mode:
authorHind-M <hind.montassif@gmail.com>2021-06-03 16:40:59 +0200
committerHind-M <hind.montassif@gmail.com>2021-06-03 16:40:59 +0200
commit3ee453718eebc7274b19caef4b79d8ec2754d583 (patch)
tree84c040d2da7aa29392d834113660b10bb657d072 /src/python/test/test_remote_datasets.py
parentbaa2e67036dae8ec63321a4d9ff4e913780a8757 (diff)
Modify urls to point to GUDHI/gudhi-data repo
Diffstat (limited to 'src/python/test/test_remote_datasets.py')
-rw-r--r--src/python/test/test_remote_datasets.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/test/test_remote_datasets.py b/src/python/test/test_remote_datasets.py
index a822ebaa..63ad7885 100644
--- a/src/python/test/test_remote_datasets.py
+++ b/src/python/test/test_remote_datasets.py
@@ -13,25 +13,25 @@ import re
def test_fetch_remote_datasets():
# Test files download from given urls
- path_file_dw = remote.fetch("https://raw.githubusercontent.com/Hind-M/gudhi-data/main/spiral_2d.csv", "spiral_2d.csv")
+ path_file_dw = remote.fetch("https://raw.githubusercontent.com/GUDHI/gudhi-data/main/points/spiral_2d.csv", "spiral_2d.csv")
names_dw = re.split(r' |/|\\', path_file_dw)
assert 'remote_datasets' == names_dw[0]
assert 'spiral_2d.csv' == names_dw[1]
- path_file_dw = remote.fetch("https://raw.githubusercontent.com/Hind-M/gudhi-data/main/sphere3D_pts_on_grid.off", "sphere3D_pts_on_grid.off")
+ path_file_dw = remote.fetch("https://raw.githubusercontent.com/GUDHI/gudhi-data/main/points/sphere3D_pts_on_grid.off", "sphere3D_pts_on_grid.off")
names_dw = re.split(r' |/|\\', path_file_dw)
assert 'remote_datasets' == names_dw[0]
assert 'sphere3D_pts_on_grid.off' == names_dw[1]
# Test files download with checksums provided
- path_file_dw = remote.fetch("https://raw.githubusercontent.com/Hind-M/gudhi-data/main/spiral_2d.csv", "spiral_2d.csv", checksum_flag = True,
+ path_file_dw = remote.fetch("https://raw.githubusercontent.com/GUDHI/gudhi-data/main/points/spiral_2d.csv", "spiral_2d.csv", checksum_flag = True,
file_checksum = '37530355d980d957c4ec06b18c775f90a91e446107d06c6201c9b4000b077f38')
names_dw = re.split(r' |/|\\', path_file_dw)
assert 'remote_datasets' == names_dw[0]
assert 'spiral_2d.csv' == names_dw[1]
- path_file_dw = remote.fetch("https://raw.githubusercontent.com/Hind-M/gudhi-data/main/sphere3D_pts_on_grid.off", "sphere3D_pts_on_grid.off",
+ path_file_dw = remote.fetch("https://raw.githubusercontent.com/GUDHI/gudhi-data/main/points/sphere3D_pts_on_grid.off", "sphere3D_pts_on_grid.off",
checksum_flag = True, file_checksum = '32f96d2cafb1177f0dd5e0a019b6ff5658e14a619a7815ae55ad0fc5e8bd3f88')
names_dw = re.split(r' |/|\\', path_file_dw)
assert 'remote_datasets' == names_dw[0]