@@ -332,7 +332,7 @@ def test_dispatch_submissions_failure(self, mock_auth_url, mock_put, car_service
332332
333333
334334def test_get_allele_registry_associations_success ():
335- content_submissions = ["NM_0001:c.1A>G" , "NM_0002:c.2T>C" ]
335+ content_submissions = ["NM_0001:c.1A>G" , "NM_0002:c.2T>C" , "NM_0003:c.3G>A" ]
336336 submission_response = [
337337 {
338338 "@id" : "http://reg.test.genome.network/allele/CA123" ,
@@ -344,9 +344,15 @@ def test_get_allele_registry_associations_success():
344344 "genomicAlleles" : [],
345345 "transcriptAlleles" : [{"hgvs" : "NM_0002:c.2T>C" }],
346346 },
347+ {
348+ "@id" : "http://reg.test.genome.network/allele/CA789" ,
349+ "genomicAlleles" : [],
350+ "transcriptAlleles" : [],
351+ "aminoAcidAlleles" : [{"hgvs" : "NM_0003:c.3G>A" }],
352+ },
347353 ]
348354 result = get_allele_registry_associations (content_submissions , submission_response )
349- assert result == {"NM_0001:c.1A>G" : "CA123" , "NM_0002:c.2T>C" : "CA456" }
355+ assert result == {"NM_0001:c.1A>G" : "CA123" , "NM_0002:c.2T>C" : "CA456" , "NM_0003:c.3G>A" : "CA789" }
350356
351357
352358def test_get_allele_registry_associations_empty ():
@@ -367,7 +373,7 @@ def test_get_allele_registry_associations_no_match():
367373 assert result == {}
368374
369375
370- def test_get_allele_registry_associations_with_errors (caplog ):
376+ def test_get_allele_registry_associations_with_errors ():
371377 content_submissions = ["NM_0001:c.1A>G" , "NM_0002:c.2T>C" ]
372378 submission_response = [
373379 {
0 commit comments