We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cafb0e0 commit 0f34b7fCopy full SHA for 0f34b7f
tests/state/test_local_state.py
@@ -2,7 +2,6 @@
2
import algopy_testing
3
import pytest
4
from algopy_testing._context_helpers.context_storage import algopy_testing_context
5
-from algopy_testing.enums import OnCompleteAction
6
7
from tests.artifacts.StateOps.contract import LocalStateContract
8
from tests.common import AVMInvoker
@@ -39,7 +38,7 @@ def test_get_local_arc4_value(
39
38
contract = LocalStateContract()
40
41
with ctx.txn.create_group(
42
- gtxns=[ctx.any.txn.application_call(on_completion=OnCompleteAction.OptIn)]
+ active_txn_overrides={"on_completion": algopy.OnCompleteAction.OptIn}
43
):
44
contract.opt_in()
45
test_result = getattr(contract, method_name)(ctx.default_sender)
0 commit comments