Skip to content

Commit c604026

Browse files
committed
test: fix renamed method
1 parent 4060fff commit c604026

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
@pytest.fixture(scope="session")
3838
def algorand() -> AlgorandClient:
3939
client = AlgorandClient.default_localnet()
40-
client.set_suggested_params_timeout(0)
40+
client.set_suggested_params_cache_timeout(0)
4141
return client
4242

4343

tests/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def round_warp(to_round: Optional[int] = None) -> None:
163163
to_round (Optional): Round to advance to
164164
"""
165165
algorand_client = AlgorandClient.default_localnet()
166-
algorand_client.set_suggested_params_timeout(0)
166+
algorand_client.set_suggested_params_cache_timeout(0)
167167
dispenser = algorand_client.account.localnet_dispenser()
168168
if to_round is not None:
169169
last_round = get_last_round(algorand_client.client.algod)
@@ -190,7 +190,7 @@ def time_warp(to_timestamp: int) -> None:
190190
to_timestamp: Timestamp to advance to
191191
"""
192192
algorand_client = AlgorandClient.default_localnet()
193-
algorand_client.set_suggested_params_timeout(0)
193+
algorand_client.set_suggested_params_cache_timeout(0)
194194
algorand_client.client.algod.set_timestamp_offset(
195195
to_timestamp - get_latest_timestamp(algorand_client.client.algod)
196196
)

0 commit comments

Comments
 (0)