@@ -259,7 +259,7 @@ def test_add_assembly(Session, file_service, setup):
259259 Session ,
260260 file_service ,
261261 url_to_data = {
262- "https://ftp.ensembl.org/pub/current_assembly_chain /homo_sapiens/NCBI36_to_GRCh38.chain.gz" : b"foo"
262+ "https://ftp.ensembl.org/pub/release-110/assembly_chain /homo_sapiens/NCBI36_to_GRCh38.chain.gz" : b"foo"
263263 },
264264 )
265265 assembly_id = service .add_assembly (9606 , "NCBI36" )
@@ -339,7 +339,7 @@ def test_add_assembly_wrong_url(Session, file_service, setup):
339339
340340EXPECTED_RELEASE_JSON = """{
341341\t "releases": [
342- \t \t 112
342+ \t \t 110
343343\t ]
344344}"""
345345
@@ -351,8 +351,8 @@ def test_prepare_assembly_for_version(Session, file_service, setup):
351351 Session ,
352352 file_service ,
353353 url_to_result = {
354- "http://rest.ensembl.org/info/assembly/homo_sapiens" : EXAMPLE_GENE_BUILD_DATA ,
355- "http://rest.ensembl.org/info/data" : {"releases" : [112 ]},
354+ "http://jul2023. rest.ensembl.org/info/assembly/homo_sapiens" : EXAMPLE_GENE_BUILD_DATA ,
355+ "http://jul2023. rest.ensembl.org/info/data" : {"releases" : [110 ]},
356356 },
357357 )
358358 service .prepare_assembly_for_version (1 )
@@ -403,8 +403,8 @@ def test_prepare_assembly_for_version_build_error(Session, file_service, setup):
403403 Session ,
404404 file_service ,
405405 url_to_result = {
406- "http://rest.ensembl.org/info/assembly/homo_sapiens" : NEWEST_EXAMPLE_GENE_BUILD_DATA ,
407- "http://rest.ensembl.org/info/data" : {"releases" : [112 ]},
406+ "http://jul2023. rest.ensembl.org/info/assembly/homo_sapiens" : NEWEST_EXAMPLE_GENE_BUILD_DATA ,
407+ "http://jul2023. rest.ensembl.org/info/data" : {"releases" : [112 ]},
408408 },
409409 )
410410 with pytest .raises (AssemblyVersionError ) as exc :
0 commit comments