File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -783,8 +783,8 @@ def test_to_files(petab_problem): # pylint: disable=W0621
783783def test_load_remote ():
784784 """Test loading remote files"""
785785 yaml_url = (
786- "https://raw.githubusercontent.com /PEtab-dev/petab_test_suite"
787- "/ main/petabtests/cases/v1.0.0/sbml/0001/_0001.yaml"
786+ "https://cdn.jsdelivr.net/gh /PEtab-dev/petab_test_suite"
787+ "@ main/petabtests/cases/v1.0.0/sbml/0001/_0001.yaml"
788788 )
789789 petab_problem = petab .Problem .from_yaml (yaml_url )
790790
Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ def test_get_path_prefix():
102102
103103def test_validate_remote ():
104104 yaml_url = (
105- "https://raw.githubusercontent.com /PEtab-dev/petab_test_suite"
106- "/ main/petabtests/cases/v1.0.0/sbml/0001/_0001.yaml"
105+ "https://cdn.jsdelivr.net/gh /PEtab-dev/petab_test_suite"
106+ "@ main/petabtests/cases/v1.0.0/sbml/0001/_0001.yaml"
107107 )
108108
109109 validate (yaml_url )
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ def test_v1v2_observable_df_noise_distribution():
3333def test_petab1to2_remote ():
3434 """Test that we can upgrade a remote PEtab 1.0.0 problem."""
3535 yaml_url = (
36- "https://raw.githubusercontent.com /PEtab-dev/petab_test_suite"
37- "/ main/petabtests/cases/v1.0.0/sbml/0001/_0001.yaml"
36+ "https://cdn.jsdelivr.net/gh /PEtab-dev/petab_test_suite"
37+ "@ main/petabtests/cases/v1.0.0/sbml/0001/_0001.yaml"
3838 )
3939
4040 problem = petab1to2 (yaml_url )
Original file line number Diff line number Diff line change @@ -367,8 +367,8 @@ def test_load_remote():
367367 from jsonschema .exceptions import ValidationError
368368
369369 yaml_url = (
370- "https://raw.githubusercontent.com /PEtab-dev/petab_test_suite"
371- "/ main/petabtests/cases/v2.0.0/sbml/0010/_0010.yaml"
370+ "https://cdn.jsdelivr.net/gh /PEtab-dev/petab_test_suite"
371+ "@ main/petabtests/cases/v2.0.0/sbml/0010/_0010.yaml"
372372 )
373373
374374 try :
@@ -389,8 +389,8 @@ def test_load_remote():
389389
390390def test_auto_upgrade ():
391391 yaml_url = (
392- "https://raw.githubusercontent.com /PEtab-dev/petab_test_suite"
393- "/ main/petabtests/cases/v1.0.0/sbml/0001/_0001.yaml"
392+ "https://cdn.jsdelivr.net/gh /PEtab-dev/petab_test_suite"
393+ "@ main/petabtests/cases/v1.0.0/sbml/0001/_0001.yaml"
394394 )
395395 problem = Problem .from_yaml (yaml_url )
396396 # TODO check something specifically different in a v2 problem
You can’t perform that action at this time.
0 commit comments