1111from .....resolver .did_resolver import DIDResolver
1212from .....storage .vc_holder .vc_record import VCRecord
1313from .....tests import mock
14- from .....utils .testing import create_test_profile
14+ from .....utils .testing import create_test_profile , skip_on_jsonld_url_error
1515from .....vc .ld_proofs import BbsBlsSignature2020
1616from .....vc .ld_proofs .constants import SECURITY_CONTEXT_BBS_URL
1717from .....vc .ld_proofs .document_loader import DocumentLoader
@@ -82,6 +82,7 @@ async def setup_tuple(self, profile):
8282 creds , pds = get_test_data ()
8383 return creds , pds
8484
85+ @skip_on_jsonld_url_error
8586 async def test_load_cred_json_a (self ):
8687 cred_list , pd_list = await self .setup_tuple (self .profile )
8788 dif_pres_exch_handler = DIFPresExchHandler (self .profile )
@@ -103,6 +104,7 @@ async def test_load_cred_json_a(self):
103104 assert len (tmp_vp .get ("verifiableCredential" )) == tmp_pd [1 ]
104105
105106 @pytest .mark .ursa_bbs_signatures
107+ @skip_on_jsonld_url_error
106108 async def test_load_cred_json_b (self ):
107109 cred_list , pd_list = await self .setup_tuple (self .profile )
108110 dif_pres_exch_handler = DIFPresExchHandler (
@@ -346,6 +348,7 @@ async def test_make_requirement_with_none_params(self):
346348 )
347349
348350 @pytest .mark .ursa_bbs_signatures
351+ @skip_on_jsonld_url_error
349352 async def test_subject_is_issuer_check (self ):
350353 cred_list , _ = await self .setup_tuple (self .profile )
351354 dif_pres_exch_handler = DIFPresExchHandler (self .profile )
@@ -712,6 +715,7 @@ async def test_reveal_doc_wildcard(self):
712715 assert tmp_reveal_doc
713716
714717 @pytest .mark .ursa_bbs_signatures
718+ @skip_on_jsonld_url_error
715719 async def test_filter_number_type_check (self ):
716720 await self .setup_tuple (self .profile )
717721 dif_pres_exch_handler = DIFPresExchHandler (self .profile )
@@ -1246,6 +1250,7 @@ async def test_edd_jsonld_creds(self):
12461250 assert len (tmp_vp .get ("verifiableCredential" )) == 3
12471251
12481252 @pytest .mark .ursa_bbs_signatures
1253+ @skip_on_jsonld_url_error
12491254 async def test_filter_string (self ):
12501255 cred_list , _ = await self .setup_tuple (self .profile )
12511256 dif_pres_exch_handler = DIFPresExchHandler (self .profile )
@@ -1864,6 +1869,7 @@ async def test_sign_pres_bbsbls(self):
18641869 )
18651870 assert len (tmp_vp .get ("verifiableCredential" )) == 6
18661871
1872+ @skip_on_jsonld_url_error
18671873 def test_create_vc_record_with_graph_struct (self ):
18681874 dif_pres_exch_handler = DIFPresExchHandler (self .profile )
18691875 test_credential_dict_a = {
@@ -2639,6 +2645,7 @@ def test_validate_patch_catch_errors(self):
26392645 )
26402646
26412647 @pytest .mark .ursa_bbs_signatures
2648+ @skip_on_jsonld_url_error
26422649 async def test_derive_cred_missing_credsubjectid (self ):
26432650 dif_pres_exch_handler = DIFPresExchHandler (self .profile )
26442651 test_pd = """
0 commit comments