algorand-python-testing 1.2.0b5__tar.gz → 1.2.0b7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/CHANGELOG.md +8 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/PKG-INFO +1 -1
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/coverage.md +2 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/pyproject.toml +3 -3
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/models/contract.py +13 -12
- algorand_python_testing-1.2.0b7/src/_algopy_testing/utilities/__init__.py +5 -0
- algorand_python_testing-1.2.0b7/src/_algopy_testing/utilities/log.py +116 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/algopy/__init__.py +10 -1
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/PrimitiveOps/contract.py +37 -1
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.approval.teal +308 -192
- algorand_python_testing-1.2.0b7/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc56.json +1677 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateMutations/data/StateMutations.arc56.json +1 -1
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/GlobalMapContract.approval.teal +80 -80
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/GlobalMapContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/GlobalStateContract.approval.teal +113 -113
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/GlobalStateContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/ITxnOpsContract.approval.teal +20 -20
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/ITxnOpsContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/LocalMapContract.approval.teal +102 -102
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/LocalMapContract.arc56.json +3 -3
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/LocalStateContract.approval.teal +73 -73
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/LocalStateContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.approval.teal +8 -12
- algorand_python_testing-1.2.0b7/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc56.json +466 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppGlobalContract.approval.teal +22 -22
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppGlobalContract.arc56.json +1 -1
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppGlobalExContract.approval.teal +4 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc56.json +8 -3
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/models/test_contract.py +2 -0
- algorand_python_testing-1.2.0b7/tests/utilities/test_log.py +242 -0
- algorand_python_testing-1.2.0b5/src/_algopy_testing/utilities/__init__.py +0 -5
- algorand_python_testing-1.2.0b5/src/_algopy_testing/utilities/log.py +0 -42
- algorand_python_testing-1.2.0b5/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc56.json +0 -1607
- algorand_python_testing-1.2.0b5/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc56.json +0 -466
- algorand_python_testing-1.2.0b5/tests/utilities/test_log.py +0 -79
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.coveragerc +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.editorconfig +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.github/dependabot.yml +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.github/pull_request_template.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.github/workflows/cd.yaml +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.github/workflows/ci.yaml +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.github/workflows/gh-pages.yaml +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.gitignore +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.pre-commit-config.yaml +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.vscode/extensions.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.vscode/launch.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/.vscode/settings.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/CONTRIBUTING.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/LICENSE +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/README.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/Makefile +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/_static/custom.css +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/algopy.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/api.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/conf.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/examples.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/faq.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/index.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/make.bat +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/arc4-types.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/avm-types.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/concepts.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/contract-testing.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/index.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/opcodes.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/signature-testing.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/state-management.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/subroutines.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/docs/testing-guide/transactions.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/README.md +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/auction/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/auction/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/auction/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/htlc_logicsig/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/htlc_logicsig/signature.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/htlc_logicsig/test_signature.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/marketplace/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/marketplace/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/marketplace/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/proof_of_attendance/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/proof_of_attendance/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/proof_of_attendance/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/scratch_storage/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/scratch_storage/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/scratch_storage/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/simple_voting/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/simple_voting/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/simple_voting/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/zk_whitelist/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/zk_whitelist/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/examples/zk_whitelist/test_contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/scripts/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/scripts/check_stubs_cov.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/scripts/refresh_test_artifacts.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/scripts/validate_examples.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/arc4.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/compiled.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/constants.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/context.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/context_helpers/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/context_helpers/context_storage.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/context_helpers/ledger_context.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/context_helpers/txn_context.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/decorators/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/decorators/arc4.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/decorators/subroutine.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/enums.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/gtxn.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/itxn.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/itxn_loader.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/models/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/models/account.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/models/application.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/models/asset.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/models/logicsig.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/models/template_variable.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/models/txn_fields.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/models/unsigned_builtins.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/mutable.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/op/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/op/block.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/op/constants.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/op/crypto.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/op/global_values.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/op/itxn.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/op/misc.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/op/pure.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/op/txn.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/primitives/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/primitives/array.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/primitives/biguint.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/primitives/bytes.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/primitives/fixed_bytes.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/primitives/string.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/primitives/uint64.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/protocols.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/py.typed +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/serialize.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/state/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/state/box.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/state/global_map.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/state/global_state.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/state/local_map.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/state/local_state.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/state/utils.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/utilities/budget.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/utilities/size_of.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/utils.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/value_generators/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/value_generators/arc4.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/value_generators/avm.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/_algopy_testing/value_generators/txn.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/algopy/arc4.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/algopy/gtxn.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/algopy/itxn.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/algopy/op.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/algopy/py.typed +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/algopy_testing/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/src/algopy_testing/py.typed +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/templates/.macros.j2 +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/templates/.release_notes.md.j2 +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/templates/CHANGELOG.md.j2 +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/conftest.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_abi_call.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_address.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_arc4_method_signature.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_bool.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_dynamic_array.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_dynamic_bytes.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_emit.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_static_array.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_string.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_struct.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_tuple.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_ufixednxm.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/arc4/test_uintn.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/data/Contract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/data/Contract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/data/Contract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/data/ContractV0.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/data/ContractV0.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/data/ContractV0.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/data/ContractV1.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/data/ContractV1.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/AVM12/data/ContractV1.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4ABIMethod/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4ABIMethod/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4InnerTxns/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4InnerTxns/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4PrimitiveOps/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4PrimitiveOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/Contract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/Contract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/Contract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/Contract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/DynamicArrayInitContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/DynamicArrayInitContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/DynamicArrayInitContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/ImmutableArrayContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/ImmutableArrayContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/ImmutableArrayContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/ImmutableArrayContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/ImmutableArrayInitContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/StaticSizeContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/StaticSizeContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/StaticSizeContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/data/StaticSizeContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/immutable.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/static_size.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Arrays/uint64.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/BoxContract/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/BoxContract/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/BoxContract/data/BoxContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/BoxContract/data/BoxContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/BoxContract/data/BoxContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/BoxContract/data/BoxContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Contains/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Contains/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Contains/data/MyContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Contains/data/MyContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/data/AppCall.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/data/AppCall.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/data/AppCall.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/data/AppCall.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CreatedAppAsset/other.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CryptoOps/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CryptoOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CryptoOps/data/CryptoOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/CryptoOps/data/CryptoOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/DynamicITxnGroup/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/DynamicITxnGroup/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/DynamicITxnGroup/data/DynamicItxnGroup.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/DynamicITxnGroup/data/DynamicItxnGroup.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/DynamicITxnGroup/data/DynamicItxnGroup.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/DynamicITxnGroup/data/VerifierContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/DynamicITxnGroup/data/VerifierContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/DynamicITxnGroup/data/VerifierContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/DynamicITxnGroup/verifier.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/GlobalStateValidator/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/GlobalStateValidator/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/MiscellaneousOps/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/MiscellaneousOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/PrimitiveOps/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateMutations/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateMutations/data/Contract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateMutations/data/Contract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateMutations/data/Contract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateMutations/data/StateMutations.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateMutations/data/StateMutations.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateMutations/data/StateMutations.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateMutations/statemutations.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/GlobalMapContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/GlobalStateContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/GlobalStateContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/ITxnOpsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/ITxnOpsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/LocalMapContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/LocalStateContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/LocalStateContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAcctParamsGet.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAcctParamsGet.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAcctParamsGet.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppGlobalContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppGlobalContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppGlobalExContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppLocalContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppLocalContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppLocalContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppLocalContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppLocalExContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppLocalExContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppLocalExContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppLocalExContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppParamsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppParamsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppParamsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAppParamsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAssetHoldingContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAssetHoldingContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAssetParamsContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAssetParamsContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAssetParamsContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/StateOps/data/StateAssetParamsContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Tuples/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Tuples/contract.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Tuples/data/TuplesContract.approval.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Tuples/data/TuplesContract.arc32.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Tuples/data/TuplesContract.arc56.json +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/Tuples/data/TuplesContract.clear.teal +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/artifacts/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/avm12/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/avm12/conftest.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/avm12/test_avm12.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/common.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/conftest.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/contexts/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/dynamic_itxn_group/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/dynamic_itxn_group/test_dynamic_itxn_group.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/models/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/models/test_asset.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/models/test_box.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/models/test_box_map.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/models/test_box_ref.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/models/test_uenumerate.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/models/test_urange.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/primitives/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/primitives/conftest.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/primitives/test_biguint.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/primitives/test_bytes.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/primitives/test_fixed_bytes.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/primitives/test_string.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/primitives/test_uint64.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/state/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/state/conftest.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/state/test_global_map.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/state/test_global_state.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/state/test_local_map.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/state/test_local_state.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/state/test_mutations.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/test_array.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/test_context.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/test_miscellaneous_op.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/test_op.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/util.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/utilities/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/utilities/conftest.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/utilities/test_size_of.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/value_generators/__init__.py +0 -0
- {algorand_python_testing-1.2.0b5 → algorand_python_testing-1.2.0b7}/tests/value_generators/test_avm.py +0 -0
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
|
+
## v1.2.0-beta.7 (2026-04-09)
|
|
3
|
+
|
|
4
|
+
## v1.2.0-beta.6 (2026-04-07)
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add arc65 support: loggedErr() and loggedAssert() functions, to log a formatted error string before failing ([`5ac27a5`](https://github.com/algorandfoundation/algorand-python-testing/commit/5ac27a5f96d075224c47dc7c8b6ceba65db0e5e3))
|
|
9
|
+
|
|
2
10
|
## v1.2.0-beta.5 (2026-04-01)
|
|
3
11
|
|
|
4
12
|
### Features
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: algorand-python-testing
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.0b7
|
|
4
4
|
Summary: Algorand Python testing library
|
|
5
5
|
Project-URL: Documentation, https://github.com/algorandfoundation/puya/tree/main/algopy_testing#README.md
|
|
6
6
|
Project-URL: Issues, https://github.com/algorandfoundation/puya/issues
|
|
@@ -41,6 +41,8 @@ See which `algorand-python` stubs are implemented by the `algorand-python-testin
|
|
|
41
41
|
| algopy.compile_logicsig | Mockable |
|
|
42
42
|
| algopy.ensure_budget | Emulated |
|
|
43
43
|
| algopy.log | Emulated |
|
|
44
|
+
| algopy.logged_assert | Emulated |
|
|
45
|
+
| algopy.log_err | Emulated |
|
|
44
46
|
| algopy.logicsig | Emulated |
|
|
45
47
|
| algopy.public | Emulated |
|
|
46
48
|
| algopy.size_of | Emulated |
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "algorand-python-testing"
|
|
7
|
-
version = "1.2.0-beta.
|
|
7
|
+
version = "1.2.0-beta.7"
|
|
8
8
|
description = 'Algorand Python testing library'
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -50,7 +50,7 @@ type = "virtual"
|
|
|
50
50
|
path = ".venv"
|
|
51
51
|
python = "3.12"
|
|
52
52
|
dependencies = [
|
|
53
|
-
"puyapy>=5.
|
|
53
|
+
"puyapy>=5.8.0",
|
|
54
54
|
"pytest>=7.4",
|
|
55
55
|
"pytest-mock>=3.10.0",
|
|
56
56
|
"pytest-xdist[psutil]>=3.3",
|
|
@@ -132,7 +132,7 @@ dependencies = [
|
|
|
132
132
|
"pytest-cov>=4.1.0",
|
|
133
133
|
"py-algorand-sdk>=2.4.0",
|
|
134
134
|
"algokit-utils>=4.0.0",
|
|
135
|
-
"puyapy>=5.
|
|
135
|
+
"puyapy>=5.8.0",
|
|
136
136
|
]
|
|
137
137
|
|
|
138
138
|
[tool.hatch.envs.test.scripts]
|
|
@@ -37,16 +37,16 @@ class _ContractMeta(type):
|
|
|
37
37
|
_scratch_slots: typing.Any
|
|
38
38
|
_state_totals: StateTotals | None
|
|
39
39
|
_avm_version: int
|
|
40
|
-
|
|
41
|
-
def __init__(cls, *args: typing.Any, **kwargs: typing.Any) -> None:
|
|
42
|
-
super().__init__(*args, **kwargs)
|
|
43
|
-
cls.global_state_types = dict[str, type]()
|
|
40
|
+
_global_state_types: dict[str, type]
|
|
44
41
|
|
|
45
42
|
def __call__(cls, *args: typing.Any, **kwargs: dict[str, typing.Any]) -> object:
|
|
43
|
+
# cls is both _ContractMeta and a (sub)class of Contract, but mypy can't
|
|
44
|
+
# handle intersection types (and assumes that cls is just _ContractMeta)
|
|
45
|
+
assert issubclass(cls, Contract)
|
|
46
46
|
context = lazy_context.value
|
|
47
47
|
app_ref = context.any.application() # new reference to get a unique app_id
|
|
48
48
|
app_id = app_ref.id.value
|
|
49
|
-
instance
|
|
49
|
+
instance = cls.__new__(cls, *args, **kwargs)
|
|
50
50
|
instance.__app_id__ = app_id
|
|
51
51
|
app_data = lazy_context.get_app_data(app_id)
|
|
52
52
|
app_data.contract = instance
|
|
@@ -54,6 +54,9 @@ class _ContractMeta(type):
|
|
|
54
54
|
|
|
55
55
|
fields = get_active_txn_fields(app_ref)
|
|
56
56
|
txn = context.any.txn.application_call(**fields)
|
|
57
|
+
# the below is the key reason for this being a metaclass, rather than overriding
|
|
58
|
+
# the __new__ method in Contract itself: we get to control the calling of __init__,
|
|
59
|
+
# and place it inside the following context manager
|
|
57
60
|
with context.txn._maybe_implicit_txn_group([txn]) as active_group:
|
|
58
61
|
if active_group.active_app_id != app_id:
|
|
59
62
|
raise ValueError(
|
|
@@ -64,10 +67,9 @@ class _ContractMeta(type):
|
|
|
64
67
|
app_id,
|
|
65
68
|
creator=creator,
|
|
66
69
|
)
|
|
67
|
-
|
|
70
|
+
cls.__init__(instance, *args, **kwargs)
|
|
68
71
|
app_data.is_creating = _has_create_methods(cls)
|
|
69
72
|
|
|
70
|
-
assert isinstance(instance, Contract)
|
|
71
73
|
cls_state_totals = cls._state_totals or StateTotals()
|
|
72
74
|
state_totals = _get_state_totals(instance, cls_state_totals)
|
|
73
75
|
context.ledger.update_app(
|
|
@@ -96,6 +98,7 @@ class Contract(metaclass=_ContractMeta):
|
|
|
96
98
|
state_totals: StateTotals | None = None,
|
|
97
99
|
avm_version: int = 11,
|
|
98
100
|
):
|
|
101
|
+
cls._global_state_types = dict[str, type]() # ensure each subclass gets its own
|
|
99
102
|
cls._name = name or cls.__name__
|
|
100
103
|
cls._scratch_slots = scratch_slots
|
|
101
104
|
cls._state_totals = state_totals
|
|
@@ -138,9 +141,8 @@ class Contract(metaclass=_ContractMeta):
|
|
|
138
141
|
return set_is_creating
|
|
139
142
|
|
|
140
143
|
cls = type(self)
|
|
141
|
-
assert isinstance(cls, _ContractMeta)
|
|
142
144
|
try:
|
|
143
|
-
unproxied_global_state_type = cls.
|
|
145
|
+
unproxied_global_state_type = cls._global_state_types[name]
|
|
144
146
|
except KeyError:
|
|
145
147
|
return attr
|
|
146
148
|
value = lazy_context.ledger.get_global_state(self.__app_id__, name.encode("utf8"))
|
|
@@ -173,8 +175,7 @@ class Contract(metaclass=_ContractMeta):
|
|
|
173
175
|
app_id = self.__app_id__
|
|
174
176
|
lazy_context.ledger.set_global_state(app_id, name_bytes, serialize(value))
|
|
175
177
|
cls = type(self)
|
|
176
|
-
|
|
177
|
-
cls.global_state_types[name] = type(value)
|
|
178
|
+
cls._global_state_types[name] = type(value)
|
|
178
179
|
|
|
179
180
|
super().__setattr__(name, value)
|
|
180
181
|
|
|
@@ -242,7 +243,7 @@ def _is_uint_state(type_: type) -> bool:
|
|
|
242
243
|
return issubclass(type_, UInt64 | UInt64Backed | bool)
|
|
243
244
|
|
|
244
245
|
|
|
245
|
-
def _has_create_methods(contract_cls:
|
|
246
|
+
def _has_create_methods(contract_cls: type[Contract]) -> bool:
|
|
246
247
|
for method in vars(contract_cls).values():
|
|
247
248
|
if callable(method) and (arc4_meta := maybe_arc4_metadata(method)) and arc4_meta.is_create:
|
|
248
249
|
return True
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
from _algopy_testing.utilities.budget import OpUpFeeSource, ensure_budget
|
|
2
|
+
from _algopy_testing.utilities.log import log, logged_assert, logged_err
|
|
3
|
+
from _algopy_testing.utilities.size_of import size_of
|
|
4
|
+
|
|
5
|
+
__all__ = ["OpUpFeeSource", "ensure_budget", "log", "logged_assert", "logged_err", "size_of"]
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import typing
|
|
2
|
+
|
|
3
|
+
from _algopy_testing.constants import UINT64_BYTES_LENGTH
|
|
4
|
+
from _algopy_testing.context_helpers import lazy_context
|
|
5
|
+
from _algopy_testing.primitives.bytes import Bytes
|
|
6
|
+
from _algopy_testing.primitives.uint64 import UInt64
|
|
7
|
+
from _algopy_testing.protocols import BytesBacked
|
|
8
|
+
from _algopy_testing.utils import int_to_bytes
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def log(
|
|
12
|
+
*args: UInt64 | Bytes | BytesBacked | str | bytes | int,
|
|
13
|
+
sep: Bytes | bytes | str = b"",
|
|
14
|
+
) -> None:
|
|
15
|
+
"""Concatenates and logs supplied args as a single bytes value.
|
|
16
|
+
|
|
17
|
+
UInt64 args are converted to bytes and each argument is separated by `sep`.
|
|
18
|
+
Literal `str` values will be encoded as UTF8.
|
|
19
|
+
"""
|
|
20
|
+
logs: list[bytes] = []
|
|
21
|
+
|
|
22
|
+
for arg in args:
|
|
23
|
+
if isinstance(arg, UInt64):
|
|
24
|
+
logs.append(int_to_bytes(arg.value, pad_to=UINT64_BYTES_LENGTH))
|
|
25
|
+
elif isinstance(arg, Bytes):
|
|
26
|
+
logs.append(arg.value)
|
|
27
|
+
elif isinstance(arg, str):
|
|
28
|
+
logs.append(arg.encode("utf8"))
|
|
29
|
+
elif isinstance(arg, bytes):
|
|
30
|
+
logs.append(arg)
|
|
31
|
+
elif isinstance(arg, int):
|
|
32
|
+
logs.append(int_to_bytes(arg, pad_to=UINT64_BYTES_LENGTH))
|
|
33
|
+
else:
|
|
34
|
+
logs.append(arg.bytes.value)
|
|
35
|
+
|
|
36
|
+
if isinstance(sep, Bytes):
|
|
37
|
+
separator = sep.value
|
|
38
|
+
elif isinstance(sep, str):
|
|
39
|
+
separator = sep.encode("utf8")
|
|
40
|
+
else:
|
|
41
|
+
separator = sep
|
|
42
|
+
|
|
43
|
+
active_txn = lazy_context.active_group.active_txn
|
|
44
|
+
active_txn.append_log(separator.join(logs))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def logged_assert(
|
|
48
|
+
condition: bool, # noqa: FBT001
|
|
49
|
+
/,
|
|
50
|
+
error_code: typing.LiteralString,
|
|
51
|
+
error_message: typing.LiteralString | None = None,
|
|
52
|
+
prefix: typing.Literal["AER", "ERR"] = "ERR",
|
|
53
|
+
) -> None:
|
|
54
|
+
"""Asserts that a condition is true, logging a formatted error message before
|
|
55
|
+
failing if the condition is false.
|
|
56
|
+
|
|
57
|
+
The logged output follows the format ``{prefix}:{error_code}`` or
|
|
58
|
+
``{prefix}:{error_code}:{error_message}`` and is compatible with ARC-56 and ARC-32 clients.
|
|
59
|
+
|
|
60
|
+
Note this increases the generated bytecode, so keeping ``error_code`` and ``error_message``
|
|
61
|
+
short is recommended.
|
|
62
|
+
|
|
63
|
+
:arg condition: The condition to assert; if false, logs an error and fails.
|
|
64
|
+
:arg error_code: An alphanumeric error code. Must not contain ``:``.
|
|
65
|
+
:arg error_message: Optional message appended after the code. Must not contain ``:``.
|
|
66
|
+
:arg prefix: Error prefix, either ``"AER"`` or ``"ERR"``.
|
|
67
|
+
"""
|
|
68
|
+
if condition:
|
|
69
|
+
return
|
|
70
|
+
msg = _resolve_error_message(error_code, error_message, prefix)
|
|
71
|
+
log(msg)
|
|
72
|
+
raise RuntimeError(msg)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def logged_err(
|
|
76
|
+
error_code: typing.LiteralString,
|
|
77
|
+
error_message: typing.LiteralString | None = None,
|
|
78
|
+
prefix: typing.Literal["AER", "ERR"] = "ERR",
|
|
79
|
+
) -> None:
|
|
80
|
+
"""Logs a formatted error message and immediately fails the transaction.
|
|
81
|
+
|
|
82
|
+
Note this is equivalent to ``logged_assert(False, error_code, error_message, prefix)``.
|
|
83
|
+
This function increases the generated bytecode, so keeping ``error_code`` and ``error_message``
|
|
84
|
+
short is recommended.
|
|
85
|
+
|
|
86
|
+
The logged output follows the ARC-65 format ``{prefix}:{error_code}`` or
|
|
87
|
+
``{prefix}:{error_code}:{error_message}`` and is compatible with ARC-56 and ARC-32 clients.
|
|
88
|
+
|
|
89
|
+
:arg error_code: An alphanumeric error code. Must not contain ``:``.
|
|
90
|
+
:arg error_message: Optional message appended after the code. Must not contain ``:``.
|
|
91
|
+
:arg prefix: Error prefix, either ``"AER"`` or ``"ERR"``.
|
|
92
|
+
"""
|
|
93
|
+
msg = _resolve_error_message(error_code, error_message, prefix)
|
|
94
|
+
log(msg)
|
|
95
|
+
raise RuntimeError(msg)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
_VALID_PREFIXES = frozenset({"ERR", "AER"})
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def _resolve_error_message(
|
|
102
|
+
code: str,
|
|
103
|
+
message: str | None = None,
|
|
104
|
+
prefix: str = "ERR",
|
|
105
|
+
) -> str:
|
|
106
|
+
if ":" in code:
|
|
107
|
+
raise ValueError("error code must not contain domain separator ':'")
|
|
108
|
+
if message and ":" in message:
|
|
109
|
+
raise ValueError("error message must not contain domain separator ':'")
|
|
110
|
+
if prefix not in _VALID_PREFIXES:
|
|
111
|
+
raise ValueError("error prefix must be one of AER, ERR")
|
|
112
|
+
|
|
113
|
+
if message:
|
|
114
|
+
return f"{prefix}:{code}:{message}"
|
|
115
|
+
else:
|
|
116
|
+
return f"{prefix}:{code}"
|
|
@@ -31,7 +31,14 @@ from _algopy_testing.primitives import (
|
|
|
31
31
|
)
|
|
32
32
|
from _algopy_testing.protocols import BytesBacked
|
|
33
33
|
from _algopy_testing.state import Box, BoxMap, BoxRef, GlobalMap, GlobalState, LocalMap, LocalState
|
|
34
|
-
from _algopy_testing.utilities import
|
|
34
|
+
from _algopy_testing.utilities import (
|
|
35
|
+
OpUpFeeSource,
|
|
36
|
+
ensure_budget,
|
|
37
|
+
log,
|
|
38
|
+
logged_assert,
|
|
39
|
+
logged_err,
|
|
40
|
+
size_of,
|
|
41
|
+
)
|
|
35
42
|
|
|
36
43
|
from . import arc4, gtxn, itxn, op
|
|
37
44
|
from _algopy_testing.decorators.arc4 import (
|
|
@@ -80,6 +87,8 @@ __all__ = [
|
|
|
80
87
|
"gtxn",
|
|
81
88
|
"itxn",
|
|
82
89
|
"log",
|
|
90
|
+
"logged_assert",
|
|
91
|
+
"logged_err",
|
|
83
92
|
"logicsig",
|
|
84
93
|
"op",
|
|
85
94
|
"public",
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
from algopy import
|
|
3
|
+
from algopy import (
|
|
4
|
+
ARC4Contract,
|
|
5
|
+
BigUInt,
|
|
6
|
+
Bytes,
|
|
7
|
+
FixedBytes,
|
|
8
|
+
String,
|
|
9
|
+
UInt64,
|
|
10
|
+
arc4,
|
|
11
|
+
log,
|
|
12
|
+
logged_assert,
|
|
13
|
+
logged_err,
|
|
14
|
+
op,
|
|
15
|
+
)
|
|
4
16
|
|
|
5
17
|
|
|
6
18
|
class PrimitiveOpsContract(ARC4Contract):
|
|
@@ -371,3 +383,27 @@ class PrimitiveOpsContract(ARC4Contract):
|
|
|
371
383
|
arc4_m = arc4.DynamicArray[arc4.UInt16].from_bytes(m)
|
|
372
384
|
arc4_n = arc4.Tuple[arc4.UInt32, arc4.UInt64, arc4.String].from_bytes(n)
|
|
373
385
|
log(a, b, c, d_biguint, e, f, g, h, i, j, arc4_k, arc4_m, arc4_n, o, sep="-")
|
|
386
|
+
|
|
387
|
+
@arc4.abimethod
|
|
388
|
+
def verify_logged_errs(self, arg: UInt64) -> None:
|
|
389
|
+
# "ERR:01"
|
|
390
|
+
logged_assert(arg != 1, "01")
|
|
391
|
+
# "ERR:arg02:arg is two"
|
|
392
|
+
logged_assert(arg != 2, "arg02", error_message="arg is two")
|
|
393
|
+
# "AER:arg03"
|
|
394
|
+
logged_assert(arg != 3, "arg03", prefix="AER")
|
|
395
|
+
# "AER:arg04:arg is 4"
|
|
396
|
+
logged_assert(arg != 4, "arg04", error_message="arg is 4", prefix="AER")
|
|
397
|
+
|
|
398
|
+
# "ERR:arg05"
|
|
399
|
+
if arg == 5:
|
|
400
|
+
logged_err("arg05")
|
|
401
|
+
# "ERR:arg06:arg was 6"
|
|
402
|
+
if arg == 6:
|
|
403
|
+
logged_err("06", error_message="arg was 6")
|
|
404
|
+
# "AER:arg07"
|
|
405
|
+
if arg == 7:
|
|
406
|
+
logged_err("arg07", prefix="AER")
|
|
407
|
+
# "AER:arg08:arg is eight (08)"
|
|
408
|
+
if arg == 8:
|
|
409
|
+
logged_err("arg08", error_message="arg is eight (08)", prefix="AER")
|