3232from hiero_did_sdk_python .anoncreds .utils import AnonCredsObjectType , parse_anoncreds_identifier
3333from hiero_did_sdk_python .hcs import HcsMessageResolver
3434
35- from .conftest import OPERATOR_KEY_DER
35+ from .conftest import NETWORK , OPERATOR_KEY_DER
3636
37- ISSUER_ID = "did:hedera:testnet :zvAQyPeUecGck2EsxcsihxhAB6jZurFrBbj2gC7CNkS5o_0.0.5063027"
37+ ISSUER_ID = f "did:hedera:{ NETWORK } :zvAQyPeUecGck2EsxcsihxhAB6jZurFrBbj2gC7CNkS5o_0.0.5063027"
3838
3939MOCK_SCHEMA_PARAMS = {
4040 "name" : "mock-schema" ,
6969ACCUM_2 = "mock-accum-2"
7070
7171
72- @pytest .mark .flaky (retries = 3 , delay = 1 )
72+ # @pytest.mark.flaky(retries=3, delay=1)
7373@pytest .mark .asyncio (loop_scope = "session" )
7474class TestHederaAnonCredsRegistry :
7575 async def test_creates_anoncreds_schema (self , client : Client , Something ):
@@ -92,7 +92,7 @@ async def test_creates_anoncreds_schema(self, client: Client, Something):
9292 assert parsed_identifier .object_type == AnonCredsObjectType .SCHEMA
9393
9494 # Wait until changes are propagated to Hedera Mirror node
95- await asyncio .sleep (5 )
95+ await asyncio .sleep (10 )
9696
9797 resolution_result = await registry .get_schema (schema_id )
9898
@@ -124,7 +124,7 @@ async def test_creates_anoncreds_cred_def(self, client: Client, Something):
124124 assert parsed_identifier .object_type == AnonCredsObjectType .PUBLIC_CRED_DEF
125125
126126 # Wait until changes are propagated to Hedera Mirror node
127- await asyncio .sleep (5 )
127+ await asyncio .sleep (10 )
128128
129129 resolution_result = await registry .get_cred_def (cred_def_id )
130130
@@ -159,7 +159,7 @@ async def test_creates_anoncreds_rev_reg_def(self, client: Client, Something):
159159 assert parsed_identifier .object_type == AnonCredsObjectType .REV_REG
160160
161161 # Wait until changes are propagated to Hedera Mirror node
162- await asyncio .sleep (5 )
162+ await asyncio .sleep (10 )
163163
164164 resolution_result = await registry .get_rev_reg_def (rev_reg_def_id )
165165
@@ -182,7 +182,7 @@ async def test_creates_and_updates_rev_list(self, client: Client, Something):
182182 assert rev_reg_def_id
183183
184184 # Wait until changes are propagated to Hedera Mirror node
185- await asyncio .sleep (5 )
185+ await asyncio .sleep (10 )
186186
187187 rev_list = AnonCredsRevList (
188188 issuer_id = ISSUER_ID ,
@@ -205,7 +205,7 @@ async def test_creates_and_updates_rev_list(self, client: Client, Something):
205205 assert rev_reg_entries_topic_id
206206
207207 # Wait until changes are propagated to Hedera Mirror node
208- await asyncio .sleep (5 )
208+ await asyncio .sleep (10 )
209209
210210 entries_messages = await HcsMessageResolver (rev_reg_entries_topic_id , HcsRevRegEntryMessage ).execute (client )
211211
@@ -240,7 +240,7 @@ async def test_creates_and_updates_rev_list(self, client: Client, Something):
240240 )
241241
242242 # Wait until changes are propagated to Hedera Mirror node
243- await asyncio .sleep (5 )
243+ await asyncio .sleep (10 )
244244
245245 entries_messages = await HcsMessageResolver (rev_reg_entries_topic_id , HcsRevRegEntryMessage ).execute (client )
246246
0 commit comments