algorand-python-testing 0.5.0b1__tar.gz → 0.6.0__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-0.5.0b1 → algorand_python_testing-0.6.0}/.github/workflows/cd.yaml +3 -12
- algorand_python_testing-0.6.0/.github/workflows/ci.yaml +77 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.vscode/settings.json +1 -2
- algorand_python_testing-0.6.0/CHANGELOG.md +447 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/PKG-INFO +3 -2
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/coverage.md +4 -1
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/concepts.md +5 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/pyproject.toml +28 -8
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/scripts/refresh_test_artifacts.py +4 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/scripts/validate_examples.py +3 -1
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/arc4.py +77 -12
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/decorators/arc4.py +1 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/models/account.py +3 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/models/contract.py +2 -2
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/op/pure.py +1 -1
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/primitives/array.py +3 -0
- algorand_python_testing-0.6.0/src/_algopy_testing/serialize.py +151 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/state/box.py +44 -4
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/state/global_state.py +6 -7
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/state/local_state.py +3 -3
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/state/utils.py +10 -2
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/utilities/__init__.py +2 -1
- algorand_python_testing-0.6.0/src/_algopy_testing/utilities/size_of.py +9 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/utils.py +20 -2
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/algopy/__init__.py +2 -1
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/templates/.macros.j2 +1 -1
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_arc4_method_signature.py +8 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_tuple.py +15 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4ABIMethod/contract.py +2 -1
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.approval.teal +25 -14
- algorand_python_testing-0.6.0/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc32.json +253 -0
- algorand_python_testing-0.6.0/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc56.json +432 -0
- algorand_python_testing-0.6.0/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc56.json +107 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.approval.teal +6 -6
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.arc56.json +1586 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/data/Contract.approval.teal +12 -17
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/data/Contract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/Arrays/data/Contract.arc56.json +347 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/data/ImmutableArrayContract.approval.teal +251 -251
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/data/ImmutableArrayContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/Arrays/data/ImmutableArrayContract.arc56.json +718 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/data/StaticSizeContract.approval.teal +21 -32
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/data/StaticSizeContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/Arrays/data/StaticSizeContract.arc56.json +271 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/immutable.py +1 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/BoxContract/data/BoxContract.approval.teal +6 -20
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/BoxContract/data/BoxContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/BoxContract/data/BoxContract.arc56.json +143 -0
- algorand_python_testing-0.6.0/tests/artifacts/CreatedAppAsset/data/AppCall.arc56.json +102 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.approval.teal +1 -1
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.arc56.json +189 -0
- algorand_python_testing-0.6.0/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc56.json +480 -0
- algorand_python_testing-0.6.0/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc56.json +117 -0
- algorand_python_testing-0.6.0/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc56.json +1090 -0
- algorand_python_testing-0.6.0/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc56.json +1740 -0
- algorand_python_testing-0.6.0/tests/artifacts/StateMutations/data/StateMutations.arc56.json +264 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/contract.py +15 -1
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/GlobalStateContract.approval.teal +320 -175
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/GlobalStateContract.arc32.json +563 -0
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/GlobalStateContract.arc56.json +865 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/ITxnOpsContract.approval.teal +21 -21
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/ITxnOpsContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/ITxnOpsContract.arc56.json +102 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/LocalStateContract.approval.teal +261 -176
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/LocalStateContract.arc32.json +381 -0
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/LocalStateContract.arc56.json +618 -0
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc56.json +512 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppGlobalContract.approval.teal +40 -40
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppGlobalContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/StateAppGlobalContract.arc56.json +272 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppGlobalExContract.approval.teal +13 -13
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/StateAppGlobalExContract.arc56.json +104 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppLocalContract.approval.teal +51 -51
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppLocalContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/StateAppLocalContract.arc56.json +350 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppLocalExContract.approval.teal +8 -8
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppLocalExContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/StateAppLocalExContract.arc56.json +118 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppParamsContract.approval.teal +72 -72
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppParamsContract.arc32.json +1 -1
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/StateAppParamsContract.arc56.json +319 -0
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc56.json +138 -0
- algorand_python_testing-0.6.0/tests/artifacts/StateOps/data/StateAssetParamsContract.arc56.json +394 -0
- algorand_python_testing-0.6.0/tests/artifacts/Tuples/contract.py +11 -0
- algorand_python_testing-0.6.0/tests/artifacts/Tuples/data/TuplesContract.approval.teal +42 -0
- algorand_python_testing-0.6.0/tests/artifacts/Tuples/data/TuplesContract.arc32.json +50 -0
- algorand_python_testing-0.6.0/tests/artifacts/Tuples/data/TuplesContract.arc56.json +102 -0
- algorand_python_testing-0.6.0/tests/artifacts/Tuples/data/TuplesContract.clear.teal +7 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/common.py +4 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/models/test_box.py +186 -35
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/models/test_box_map.py +89 -57
- algorand_python_testing-0.6.0/tests/state/test_global_state.py +310 -0
- algorand_python_testing-0.6.0/tests/state/test_local_state.py +181 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/test_miscellaneous_op.py +2 -2
- algorand_python_testing-0.6.0/tests/utilities/test_size_of.py +65 -0
- algorand_python_testing-0.6.0/tests/value_generators/__init__.py +0 -0
- algorand_python_testing-0.5.0b1/.github/workflows/ci.yaml +0 -47
- algorand_python_testing-0.5.0b1/CHANGELOG.md +0 -96
- algorand_python_testing-0.5.0b1/src/_algopy_testing/serialize.py +0 -158
- algorand_python_testing-0.5.0b1/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.arc32.json +0 -253
- algorand_python_testing-0.5.0b1/tests/artifacts/StateOps/data/GlobalStateContract.arc32.json +0 -528
- algorand_python_testing-0.5.0b1/tests/artifacts/StateOps/data/LocalStateContract.arc32.json +0 -359
- algorand_python_testing-0.5.0b1/tests/state/test_global_state.py +0 -133
- algorand_python_testing-0.5.0b1/tests/state/test_local_state.py +0 -49
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.coveragerc +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.editorconfig +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.github/dependabot.yml +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.github/pull_request_template.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.github/workflows/gh-pages.yaml +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.gitignore +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.pre-commit-config.yaml +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.vscode/extensions.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/.vscode/launch.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/CONTRIBUTING.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/LICENSE +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/README.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/Makefile +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/_static/custom.css +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/algopy.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/api.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/conf.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/examples.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/faq.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/index.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/make.bat +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/arc4-types.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/avm-types.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/contract-testing.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/index.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/opcodes.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/signature-testing.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/state-management.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/subroutines.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/transactions.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/README.md +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/auction/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/auction/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/auction/test_contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/htlc_logicsig/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/htlc_logicsig/signature.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/htlc_logicsig/test_signature.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/marketplace/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/marketplace/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/marketplace/test_contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/proof_of_attendance/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/proof_of_attendance/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/proof_of_attendance/test_contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/scratch_storage/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/scratch_storage/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/scratch_storage/test_contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/simple_voting/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/simple_voting/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/simple_voting/test_contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/zk_whitelist/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/zk_whitelist/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/examples/zk_whitelist/test_contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/scripts/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/scripts/check_stubs_cov.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/compiled.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/constants.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/context.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/context_helpers/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/context_helpers/context_storage.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/context_helpers/ledger_context.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/context_helpers/txn_context.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/decorators/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/decorators/subroutine.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/enums.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/gtxn.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/itxn.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/itxn_loader.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/models/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/models/application.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/models/asset.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/models/logicsig.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/models/template_variable.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/models/txn_fields.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/models/unsigned_builtins.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/mutable.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/op/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/op/block.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/op/constants.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/op/crypto.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/op/global_values.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/op/itxn.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/op/misc.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/op/txn.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/primitives/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/primitives/biguint.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/primitives/bytes.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/primitives/string.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/primitives/uint64.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/protocols.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/py.typed +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/state/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/utilities/budget.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/utilities/log.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/value_generators/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/value_generators/arc4.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/value_generators/avm.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/_algopy_testing/value_generators/txn.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/algopy/arc4.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/algopy/gtxn.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/algopy/itxn.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/algopy/op.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/algopy/py.typed +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/algopy_testing/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/src/algopy_testing/py.typed +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/templates/.release_notes.md.j2 +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/templates/CHANGELOG.md.j2 +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/conftest.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_abi_call.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_address.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_bool.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_dynamic_array.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_dynamic_bytes.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_emit.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_static_array.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_string.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_struct.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_ufixednxm.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/arc4/test_uintn.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4ABIMethod/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4ABIMethod/data/SignaturesContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4InnerTxns/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4InnerTxns/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4InnerTxns/data/Arc4InnerTxnsContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4PrimitiveOps/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4PrimitiveOps/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arc4PrimitiveOps/data/Arc4PrimitiveOpsContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/data/Contract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/data/ImmutableArrayContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/data/StaticSizeContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/static_size.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Arrays/uint64.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/BoxContract/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/BoxContract/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/BoxContract/data/BoxContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Contains/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Contains/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Contains/data/MyContract.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/Contains/data/MyContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CreatedAppAsset/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CreatedAppAsset/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CreatedAppAsset/data/AppCall.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CreatedAppAsset/data/AppCall.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CreatedAppAsset/data/AppCall.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CreatedAppAsset/data/AppExpectingEffects.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CreatedAppAsset/other.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CryptoOps/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CryptoOps/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CryptoOps/data/CryptoOpsContract.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CryptoOps/data/CryptoOpsContract.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/CryptoOps/data/CryptoOpsContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/GlobalStateValidator/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/GlobalStateValidator/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/GlobalStateValidator/data/GlobalStateValidator.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/MiscellaneousOps/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/MiscellaneousOps/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/MiscellaneousOps/data/MiscellaneousOpsContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/PrimitiveOps/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/PrimitiveOps/contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/PrimitiveOps/data/PrimitiveOpsContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateMutations/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateMutations/data/Contract.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateMutations/data/Contract.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateMutations/data/Contract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateMutations/data/StateMutations.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateMutations/data/StateMutations.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateMutations/data/StateMutations.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateMutations/statemutations.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/GlobalStateContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/ITxnOpsContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/LocalStateContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAcctParamsGet.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAcctParamsGet.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAcctParamsGet.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAcctParamsGetContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppGlobalContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppGlobalExContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppLocalContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppLocalExContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAppParamsContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAssetHoldingContract.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAssetHoldingContract.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAssetHoldingContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAssetParamsContract.approval.teal +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAssetParamsContract.arc32.json +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/artifacts/StateOps/data/StateAssetParamsContract.clear.teal +0 -0
- {algorand_python_testing-0.5.0b1/tests/artifacts → algorand_python_testing-0.6.0/tests/artifacts/Tuples}/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1/tests/contexts → algorand_python_testing-0.6.0/tests/artifacts}/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/conftest.py +0 -0
- {algorand_python_testing-0.5.0b1/tests/models → algorand_python_testing-0.6.0/tests/contexts}/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1/tests/primitives → algorand_python_testing-0.6.0/tests/models}/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/models/test_asset.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/models/test_box_ref.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/models/test_contract.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/models/test_uenumerate.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/models/test_urange.py +0 -0
- {algorand_python_testing-0.5.0b1/tests/state → algorand_python_testing-0.6.0/tests/primitives}/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/primitives/conftest.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/primitives/test_biguint.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/primitives/test_bytes.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/primitives/test_string.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/primitives/test_uint64.py +0 -0
- {algorand_python_testing-0.5.0b1/tests/utilities → algorand_python_testing-0.6.0/tests/state}/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/state/conftest.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/state/test_mutations.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/test_array.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/test_context.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/test_op.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/util.py +0 -0
- {algorand_python_testing-0.5.0b1/tests/value_generators → algorand_python_testing-0.6.0/tests/utilities}/__init__.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/utilities/conftest.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/utilities/test_log.py +0 -0
- {algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/tests/value_generators/test_avm.py +0 -0
|
@@ -65,8 +65,8 @@ jobs:
|
|
|
65
65
|
- name: Check pre-commits (examples)
|
|
66
66
|
run: hatch run examples:check
|
|
67
67
|
|
|
68
|
-
- name:
|
|
69
|
-
run: hatch build
|
|
68
|
+
- name: Build wheels
|
|
69
|
+
run: hatch build
|
|
70
70
|
|
|
71
71
|
- name: Run tests (codebase)
|
|
72
72
|
run: hatch run tests
|
|
@@ -74,17 +74,8 @@ jobs:
|
|
|
74
74
|
- name: Run tests (examples)
|
|
75
75
|
run: hatch run examples:tests
|
|
76
76
|
|
|
77
|
-
- name: Python Semantic Release
|
|
78
|
-
id: semantic-release
|
|
79
|
-
if: ${{ github.ref == 'refs/heads/main' }}
|
|
80
|
-
uses: python-semantic-release/python-semantic-release@master
|
|
81
|
-
with:
|
|
82
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
83
|
-
prerelease: ${{ env.PRERELEASE == 'true' }}
|
|
84
|
-
root_options: $DRY_RUN
|
|
85
|
-
|
|
86
77
|
- name: Publish to PyPI
|
|
87
|
-
if: ${{ !inputs.dry_run
|
|
78
|
+
if: ${{ !inputs.dry_run }}
|
|
88
79
|
uses: pypa/gh-action-pypi-publish@release/v1
|
|
89
80
|
with:
|
|
90
81
|
packages-dir: dist
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
name: Check Python Code (algopy_testing)
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_call:
|
|
5
|
+
pull_request:
|
|
6
|
+
schedule:
|
|
7
|
+
- cron: "0 8 * * 1" # Each monday 8 AM UTC
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
check-python:
|
|
11
|
+
runs-on: "ubuntu-latest"
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout source code
|
|
14
|
+
uses: actions/checkout@v4
|
|
15
|
+
|
|
16
|
+
- name: Set up Python 3.12
|
|
17
|
+
uses: actions/setup-python@v5
|
|
18
|
+
with:
|
|
19
|
+
python-version: "3.12"
|
|
20
|
+
cache: "pip"
|
|
21
|
+
|
|
22
|
+
- name: Install hatch
|
|
23
|
+
run: pip install hatch
|
|
24
|
+
|
|
25
|
+
- name: Start LocalNet
|
|
26
|
+
run: pipx install algokit && algokit localnet start
|
|
27
|
+
|
|
28
|
+
- name: Check pre-commits
|
|
29
|
+
run: hatch run check
|
|
30
|
+
|
|
31
|
+
- name: Check pre-commits (examples)
|
|
32
|
+
run: hatch run examples:check
|
|
33
|
+
|
|
34
|
+
- name: Validate examples folder
|
|
35
|
+
run: hatch run validate_examples
|
|
36
|
+
|
|
37
|
+
- name: Check wheels can be built
|
|
38
|
+
run: hatch build
|
|
39
|
+
|
|
40
|
+
- name: Check doctests
|
|
41
|
+
run: hatch run docs:test
|
|
42
|
+
|
|
43
|
+
test-python-matrix:
|
|
44
|
+
runs-on: "ubuntu-latest"
|
|
45
|
+
strategy:
|
|
46
|
+
matrix:
|
|
47
|
+
python-version: ["3.12", "3.13"]
|
|
48
|
+
steps:
|
|
49
|
+
- name: Checkout source code
|
|
50
|
+
uses: actions/checkout@v4
|
|
51
|
+
|
|
52
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
53
|
+
uses: actions/setup-python@v5
|
|
54
|
+
with:
|
|
55
|
+
python-version: ${{ matrix.python-version }}
|
|
56
|
+
cache: "pip"
|
|
57
|
+
|
|
58
|
+
- name: Install hatch
|
|
59
|
+
run: pip install hatch
|
|
60
|
+
|
|
61
|
+
- name: Start LocalNet
|
|
62
|
+
run: pipx install algokit && algokit localnet start
|
|
63
|
+
|
|
64
|
+
- name: Run tests with Python ${{ matrix.python-version }}
|
|
65
|
+
run: hatch run test.py${{ matrix.python-version }}:ci
|
|
66
|
+
|
|
67
|
+
- name: Run examples tests with Python ${{ matrix.python-version }}
|
|
68
|
+
run: hatch run examples.py${{ matrix.python-version }}:tests
|
|
69
|
+
|
|
70
|
+
- name: Upload coverage artifacts
|
|
71
|
+
uses: actions/upload-artifact@v4
|
|
72
|
+
if: ${{ matrix.python-version == '3.13' }}
|
|
73
|
+
with:
|
|
74
|
+
name: coverage-reports
|
|
75
|
+
path: |
|
|
76
|
+
./coverage.xml
|
|
77
|
+
retention-days: 14
|
|
@@ -17,8 +17,7 @@
|
|
|
17
17
|
"python.analysis.typeCheckingMode": "off",
|
|
18
18
|
|
|
19
19
|
"ruff.enable": true,
|
|
20
|
-
"ruff.
|
|
21
|
-
"ruff.lint.args": ["--config=pyproject.toml"],
|
|
20
|
+
"ruff.configuration": "pyproject.toml",
|
|
22
21
|
"ruff.importStrategy": "fromEnvironment",
|
|
23
22
|
"ruff.fixAll": true, //lint and fix all files in workspace
|
|
24
23
|
"ruff.organizeImports": true, //organize imports on save
|
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## v0.6.0 (2025-10-20)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add mock implementations for validation functionality ([`ccde074`](https://github.com/algorandfoundation/algorand-python-testing/commit/ccde0740889bd68ef0fba418182d71ac0fc9f76a))
|
|
8
|
+
|
|
9
|
+
### Documentation
|
|
10
|
+
|
|
11
|
+
* add note about data validation in the testing library ([`bc47a68`](https://github.com/algorandfoundation/algorand-python-testing/commit/bc47a6838cf00907f2a718ddb8cb45fe97947d77))
|
|
12
|
+
|
|
13
|
+
* add missing native types in coverage table ([`a95116c`](https://github.com/algorandfoundation/algorand-python-testing/commit/a95116c567dc77cfcf4f7ec517df60bb3d9d1eb5))
|
|
14
|
+
|
|
15
|
+
## v0.6.0-beta.3 (2025-05-16)
|
|
16
|
+
|
|
17
|
+
### Bug fixes
|
|
18
|
+
|
|
19
|
+
* fixes type checking of tuples with primitive types ([`e971ad6`](https://github.com/algorandfoundation/algorand-python-testing/commit/e971ad6b125f269cd0874c09d58d8962f7622f8d))
|
|
20
|
+
|
|
21
|
+
Adds checks to ensure that type validation applies to classes only.
|
|
22
|
+
|
|
23
|
+
## v0.6.0-beta.2 (2025-05-15)
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* add stubs for box create function ([`1fe6fe5`](https://github.com/algorandfoundation/algorand-python-testing/commit/1fe6fe55358630a6abea2f69406821cb6031a4d5))
|
|
28
|
+
|
|
29
|
+
## v0.6.0-beta.1 (2025-05-09)
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* add stub implementation of algopy.size_of function for calculating static storage size of types ([`98e6816`](https://github.com/algorandfoundation/algorand-python-testing/commit/98e6816a48f1cff206f2c99d1384af1855d352c2))
|
|
34
|
+
|
|
35
|
+
### Bug fixes
|
|
36
|
+
|
|
37
|
+
* ensure size_of is exported from algopy module ([`01c055a`](https://github.com/algorandfoundation/algorand-python-testing/commit/01c055a4d2bd1fe17324bd91f7a83810900baa4e))
|
|
38
|
+
|
|
39
|
+
### Documentation
|
|
40
|
+
|
|
41
|
+
* include size_of in coverage doc ([`2c73646`](https://github.com/algorandfoundation/algorand-python-testing/commit/2c7364626357844437fd80b6039c112a87b277bb))
|
|
42
|
+
|
|
43
|
+
## v0.5.0 (2025-02-20)
|
|
44
|
+
|
|
45
|
+
## v0.5.0-beta.1 (2025-02-19)
|
|
46
|
+
|
|
47
|
+
### Features
|
|
48
|
+
|
|
49
|
+
* support `algopy.Array` and `algopy.ImmutableArray` from algorand-python 2.7 ([`fd8d19f`](https://github.com/algorandfoundation/algorand-python-testing/commit/fd8d19f25b9f8e0a48f58ae8f45e4d546b965f83))
|
|
50
|
+
|
|
51
|
+
* support mocking new `algopy.op` functions `falcon_verify`, `mimc`, `online_stake`, `sumhash512` and `VoterParamsGet` ([`83ddcbb`](https://github.com/algorandfoundation/algorand-python-testing/commit/83ddcbb8f83f72a5e0bc247c14e250c55496febf))
|
|
52
|
+
|
|
53
|
+
* update `algopy.op.Block` with fields added in AVM 11 ([`90d857d`](https://github.com/algorandfoundation/algorand-python-testing/commit/90d857d248d7b1b5a4b3791ccb0e10c20c478325))
|
|
54
|
+
|
|
55
|
+
* update `algopy.op.AcctParamsGet` with fields added in AVM 11 ([`059b669`](https://github.com/algorandfoundation/algorand-python-testing/commit/059b6690441e99a709fc47691bcb0e4f2453cd26))
|
|
56
|
+
|
|
57
|
+
* add `avm_version` to `algopy.Contract` class options ([`fc53b0f`](https://github.com/algorandfoundation/algorand-python-testing/commit/fc53b0fda5f0d22b6dbb99abf1ba024284fa52a4))
|
|
58
|
+
|
|
59
|
+
* update `algopy.op.Global` with fields added in AVM 11 ([`0cc9807`](https://github.com/algorandfoundation/algorand-python-testing/commit/0cc9807bbfc7084d54425c40889065ae2fd7d856))
|
|
60
|
+
|
|
61
|
+
* add `algopy.arc4.Struct._replace` introduced in algorand-python 2.5.0 ([`75d6847`](https://github.com/algorandfoundation/algorand-python-testing/commit/75d6847b80498d637c7f0b0e3915afd7af6f132c))
|
|
62
|
+
|
|
63
|
+
* add inline option to subroutine decorator ([`2cc15b3`](https://github.com/algorandfoundation/algorand-python-testing/commit/2cc15b3dc706eb8585b9658bf67b38da215e2e38))
|
|
64
|
+
|
|
65
|
+
### Bug fixes
|
|
66
|
+
|
|
67
|
+
* add missing mappings for `algopy.op.Txn` members ([`fddfe6f`](https://github.com/algorandfoundation/algorand-python-testing/commit/fddfe6f7ff9d6d4e0434f65e19dd0b0cf2aef6bd))
|
|
68
|
+
|
|
69
|
+
* include `ARC4Contract` in `algopy.arc4` namespace ([`f19d46f`](https://github.com/algorandfoundation/algorand-python-testing/commit/f19d46f5663c9fbe4e9b2e8c3bd1e2f7ddc89c3a))
|
|
70
|
+
|
|
71
|
+
* update `algopy.CompiledContract` and `algopy.CompiledLogicSig` to be NamedTuples ([`84be408`](https://github.com/algorandfoundation/algorand-python-testing/commit/84be4082348e3d89b40a65a69b599594a5531828))
|
|
72
|
+
|
|
73
|
+
* added missing __contains__ implementation for `algopy.Bytes` ([`8b2efa2`](https://github.com/algorandfoundation/algorand-python-testing/commit/8b2efa20b37e3043ac6a228d6706da4203373a7e))
|
|
74
|
+
|
|
75
|
+
### Documentation
|
|
76
|
+
|
|
77
|
+
* fix doctest example for `algopy.EllipticCurve` ([`7d0bb0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/7d0bb0dfe9a5ea2d67b130fa300fb80cef52fda5))
|
|
78
|
+
|
|
79
|
+
## v0.4.1 (2024-09-03)
|
|
80
|
+
|
|
81
|
+
## v0.4.1-beta.1 (2024-09-03)
|
|
82
|
+
|
|
83
|
+
### Bug fixes
|
|
84
|
+
|
|
85
|
+
* ability to pass kw_only flag to dataclass when defining struct subclass (#23) ([`24bcf9d`](https://github.com/algorandfoundation/algorand-python-testing/commit/24bcf9d8af34eb2675ddf85ce9d71802f82f2d6a))
|
|
86
|
+
|
|
87
|
+
* fix: ability to pass kw_only flag to dataclass when defining struct subclass
|
|
88
|
+
|
|
89
|
+
* chore: add dependabot yaml
|
|
90
|
+
|
|
91
|
+
* chore: adding ability to pass args to struct init subclass
|
|
92
|
+
|
|
93
|
+
## v0.4.0 (2024-08-27)
|
|
94
|
+
|
|
95
|
+
## v0.4.0-beta.2 (2024-08-27)
|
|
96
|
+
|
|
97
|
+
## v0.4.0-beta.1 (2024-08-27)
|
|
98
|
+
|
|
99
|
+
### Features
|
|
100
|
+
|
|
101
|
+
* add support for frozen on asset holdings, including a new ledger function `update_asset_holdings` for setting asset holding balances and frozen states ([`d777ca0`](https://github.com/algorandfoundation/algorand-python-testing/commit/d777ca0a318a8ade7a20363c9ce77fe8a8bf5d68))
|
|
102
|
+
|
|
103
|
+
* expand accepted types when interacting with accounts, applications and assets ([`f448a97`](https://github.com/algorandfoundation/algorand-python-testing/commit/f448a97cb154c9f90ecf42c599b240f12928af20))
|
|
104
|
+
|
|
105
|
+
wip
|
|
106
|
+
|
|
107
|
+
* replaced `account_exists` with `account_is_funded` as the later is more useful ([`4d08690`](https://github.com/algorandfoundation/algorand-python-testing/commit/4d086903eb93a70ce1d485cdd7b12d8472ef16db))
|
|
108
|
+
|
|
109
|
+
### Bug fixes
|
|
110
|
+
|
|
111
|
+
* use correct type for Globals.caller_application_id ([`a30d85a`](https://github.com/algorandfoundation/algorand-python-testing/commit/a30d85a4416dfc2c5d901f3ace2265384ef60c01))
|
|
112
|
+
|
|
113
|
+
* do not allow specifying `address` for applications, it is derived from the app_id ([`00fe1bc`](https://github.com/algorandfoundation/algorand-python-testing/commit/00fe1bc8ea247dcc36b01154db36b984b151e396))
|
|
114
|
+
|
|
115
|
+
* do not treat asset and application ids as possible foreign array indexes ([`94a989f`](https://github.com/algorandfoundation/algorand-python-testing/commit/94a989f77169da2ae437c629cd5f4d8a872263f6))
|
|
116
|
+
|
|
117
|
+
* removed incorrect deduction in `algopy.op.balance` ([`76e67c5`](https://github.com/algorandfoundation/algorand-python-testing/commit/76e67c5e3dd1cda388a2a948d452ba89805add6a))
|
|
118
|
+
|
|
119
|
+
* ensure all comparable types return `NotImplemented` when a comparison is not possible ([`b055fa6`](https://github.com/algorandfoundation/algorand-python-testing/commit/b055fa68531e0b7923773ec10c2097a3d64b9dbe))
|
|
120
|
+
|
|
121
|
+
* `arc4_prefix` annotated to also accept `algopy.Bytes` ([`40328ca`](https://github.com/algorandfoundation/algorand-python-testing/commit/40328ca3701b3e255193e206e8a7b1bdb441a346))
|
|
122
|
+
|
|
123
|
+
### Documentation
|
|
124
|
+
|
|
125
|
+
* include usage of `algopy_testing_context` in README.md quick start ([`4702f60`](https://github.com/algorandfoundation/algorand-python-testing/commit/4702f60cfe7d09956a5ae6dbdcd72da29fdda808))
|
|
126
|
+
|
|
127
|
+
## v0.3.0 (2024-08-22)
|
|
128
|
+
|
|
129
|
+
## v0.3.0-beta.10 (2024-08-22)
|
|
130
|
+
|
|
131
|
+
## v0.3.0-beta.9 (2024-08-22)
|
|
132
|
+
|
|
133
|
+
## v0.3.0-beta.8 (2024-08-22)
|
|
134
|
+
|
|
135
|
+
### Features
|
|
136
|
+
|
|
137
|
+
* include ARC4 results in log, and handle > 15 ARC4 arguments (#18) ([`fd83ee8`](https://github.com/algorandfoundation/algorand-python-testing/commit/fd83ee8525a393d4a1a66f20acdb661906d84b51))
|
|
138
|
+
|
|
139
|
+
## v0.3.0-beta.7 (2024-08-21)
|
|
140
|
+
|
|
141
|
+
## v0.3.0-beta.6 (2024-08-21)
|
|
142
|
+
|
|
143
|
+
### Documentation
|
|
144
|
+
|
|
145
|
+
* documentation for initial stable release of `algorand-python-testing` (#8) ([`9d97d0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/9d97d0de5ff9897e642ec3f11a186f2fb95375bb))
|
|
146
|
+
|
|
147
|
+
* docs: wip
|
|
148
|
+
|
|
149
|
+
* chore: refresh pyproject
|
|
150
|
+
|
|
151
|
+
* docs: refining docs (wip)
|
|
152
|
+
|
|
153
|
+
* chore: integrating doctests
|
|
154
|
+
|
|
155
|
+
* docs: revamping docs with latest features
|
|
156
|
+
|
|
157
|
+
* docs: minor consistency with main readme; patching doctests
|
|
158
|
+
|
|
159
|
+
* docs: removing the box from examples
|
|
160
|
+
|
|
161
|
+
* docs: refine op codes section
|
|
162
|
+
|
|
163
|
+
* chore: merge conflicts
|
|
164
|
+
|
|
165
|
+
* chore: apply suggestions from code review
|
|
166
|
+
|
|
167
|
+
Co-authored-by: Daniel McGregor <daniel.mcgregor@makerx.com.au>
|
|
168
|
+
|
|
169
|
+
* docs: addressing docs pr comments
|
|
170
|
+
|
|
171
|
+
## v0.3.0-beta.5 (2024-08-21)
|
|
172
|
+
|
|
173
|
+
### Bug fixes
|
|
174
|
+
|
|
175
|
+
* ensure mutable types (ARC4 tuple, array and structs) have their changes propagated back to container-like types (global/local state, boxes, ARC4 mutable types) (#14) ([`1f1f2ea`](https://github.com/algorandfoundation/algorand-python-testing/commit/1f1f2ea43a2f4f906cbcd5709b8e86b5c1f2bc63))
|
|
176
|
+
|
|
177
|
+
* fix: add default __eq__ implementation for ARC4 types
|
|
178
|
+
|
|
179
|
+
* fix: ensure mutable types (ARC4 tuple, array and structs) have their changes propagated back to container-like types (global/local state, boxes, ARC4 mutable types)
|
|
180
|
+
|
|
181
|
+
* feat: add __str__ and __repr__ implementations for ARC4 types
|
|
182
|
+
|
|
183
|
+
* refactor: make ARC4 type_info private
|
|
184
|
+
|
|
185
|
+
* refactor: make ARC4 struct inherit _ABIEncoded
|
|
186
|
+
|
|
187
|
+
* refactor: removing get_app_for_contract; expanding get_app; parsing on_complete
|
|
188
|
+
|
|
189
|
+
## v0.3.0-beta.4 (2024-08-21)
|
|
190
|
+
|
|
191
|
+
### Features
|
|
192
|
+
|
|
193
|
+
* rename txn_op_fields to active_txn_overrides to better reflect purpose, add additional checks to ensure crate_group parameters are used correctly ([`973fc28`](https://github.com/algorandfoundation/algorand-python-testing/commit/973fc288836d09ba4657642c980ca9f916d38823))
|
|
194
|
+
|
|
195
|
+
### Bug fixes
|
|
196
|
+
|
|
197
|
+
* fix equality implementation for Account, to allow comparison with arc4.Address ([`6ec2dd4`](https://github.com/algorandfoundation/algorand-python-testing/commit/6ec2dd4f2b4119987a5ea7c3c670bdd554c4fe30))
|
|
198
|
+
|
|
199
|
+
* ensure new Account's have field defaults populated ([`54432b0`](https://github.com/algorandfoundation/algorand-python-testing/commit/54432b03cef13008b16fab84dcc250824e2e2da1))
|
|
200
|
+
|
|
201
|
+
* ensure Global.current_application* properties match AVM ([`ae84ae2`](https://github.com/algorandfoundation/algorand-python-testing/commit/ae84ae27e49ef977babe7abb10d8994446d6b5f7))
|
|
202
|
+
|
|
203
|
+
* when generating app/asset id's skip any that might already be reserved ([`0bb5eba`](https://github.com/algorandfoundation/algorand-python-testing/commit/0bb5eba3ec75ffdb16cfbac5b3c4837f64f8a58a))
|
|
204
|
+
|
|
205
|
+
### Documentation
|
|
206
|
+
|
|
207
|
+
* integrating pydoclint; formatting docs; removing docs from stub implementation ([`d729bf9`](https://github.com/algorandfoundation/algorand-python-testing/commit/d729bf9b70ef885cd1b2ef705c4f5e2582d853ab))
|
|
208
|
+
|
|
209
|
+
## v0.3.0-beta.3 (2024-08-16)
|
|
210
|
+
|
|
211
|
+
## v0.3.0-beta.2 (2024-08-16)
|
|
212
|
+
|
|
213
|
+
## v0.3.0-beta.1 (2024-08-14)
|
|
214
|
+
|
|
215
|
+
### Features
|
|
216
|
+
|
|
217
|
+
* deferred app calls, modular test context, refined access to value generators, numerous fixes/improvements (#4) ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
|
|
218
|
+
|
|
219
|
+
* feat: work in progress on asset, application related state ops
|
|
220
|
+
|
|
221
|
+
* test: adding extra tests
|
|
222
|
+
|
|
223
|
+
* feat: extra tests and implementation wrappers around AppLocal
|
|
224
|
+
|
|
225
|
+
* chore: wip
|
|
226
|
+
|
|
227
|
+
* chore: update src/algopy_testing/op.py
|
|
228
|
+
|
|
229
|
+
Co-authored-by: Daniel McGregor <daniel.mcgregor@makerx.com.au>
|
|
230
|
+
|
|
231
|
+
* feat: adding acctparamsget; extra tests; pr comments
|
|
232
|
+
|
|
233
|
+
* refactor: adding final bits around AcctParamsGet; unit tests and fixes
|
|
234
|
+
|
|
235
|
+
* refactor: adding lookup by index to acct/app/asset get ops; tweaking ci
|
|
236
|
+
|
|
237
|
+
* refactor: addressing pr comments
|
|
238
|
+
|
|
239
|
+
* chore: fixing failing test
|
|
240
|
+
|
|
241
|
+
* refactor: simplifying test_context validation
|
|
242
|
+
|
|
243
|
+
* use specific enum types in box example with latest puya version
|
|
244
|
+
|
|
245
|
+
* include box types in algopy_testing
|
|
246
|
+
|
|
247
|
+
* fix inconsistent usage of field names on application fields use state total overrides when determining state totals reduce usage of `import algopy` in implementations
|
|
248
|
+
|
|
249
|
+
* expose fields property on application to aid debugging
|
|
250
|
+
|
|
251
|
+
* added section to CONTRIBUTING.md describing relationship between `algopy` and `algopy_testing`
|
|
252
|
+
|
|
253
|
+
* remove lazy algopy imports from utils remove some unnecessary ignores add TODO
|
|
254
|
+
|
|
255
|
+
* simplify abimethod and add TODO's
|
|
256
|
+
|
|
257
|
+
* add TODO for state totals
|
|
258
|
+
|
|
259
|
+
* add some tests (including currently failing ones) for app transactions
|
|
260
|
+
|
|
261
|
+
* feat: add arc4factory
|
|
262
|
+
|
|
263
|
+
* refactor: ensuring underlying _key is properly reflected on local/global states
|
|
264
|
+
|
|
265
|
+
* refactor: change guards for setting keys to explicitly check for None
|
|
266
|
+
|
|
267
|
+
* refactor: use implementation types in internal mappings
|
|
268
|
+
|
|
269
|
+
* refactor: remove usages of `import algopy` from op.py, remove explicit imports from typing module add TODO's
|
|
270
|
+
|
|
271
|
+
* test: use non-abstract contract base
|
|
272
|
+
|
|
273
|
+
* allow empty box prefix
|
|
274
|
+
|
|
275
|
+
* refactor
|
|
276
|
+
|
|
277
|
+
* use immutable param defaults
|
|
278
|
+
|
|
279
|
+
* fix: handle populating foreign arrays correctly for abi method calls
|
|
280
|
+
|
|
281
|
+
* refactor: remove lazy import algopy
|
|
282
|
+
|
|
283
|
+
* remove irrelevant comment
|
|
284
|
+
|
|
285
|
+
* initialize accounts correctly
|
|
286
|
+
|
|
287
|
+
* build: adding post install command into examples venv in hatch settings
|
|
288
|
+
|
|
289
|
+
* refactor: refine arc4 factory; add corresponding tests
|
|
290
|
+
|
|
291
|
+
* chore: adding the missing clear methods
|
|
292
|
+
|
|
293
|
+
* chore: merging everything from docs branch except docs changes
|
|
294
|
+
|
|
295
|
+
* chore: merge conflicts
|
|
296
|
+
|
|
297
|
+
* refactor: simplify txn implementations provide default values for unspecified txn fields
|
|
298
|
+
|
|
299
|
+
* docs: adding pep257 formatter; using reST docstrings style for context.py
|
|
300
|
+
|
|
301
|
+
* test: adding tests for scratch slots
|
|
302
|
+
|
|
303
|
+
* refactor: renaming set_txn_fields -> scoped_txn_fields
|
|
304
|
+
|
|
305
|
+
* chore: adding `amount` field and open question under TODO;
|
|
306
|
+
|
|
307
|
+
also adding adding get_box_map that reuses get_box but appends the bytes box_map prefix
|
|
308
|
+
|
|
309
|
+
* chore: bumping ruff
|
|
310
|
+
|
|
311
|
+
* refactor: adding context manager for lsig args setup (similar to algopy.Txn)
|
|
312
|
+
|
|
313
|
+
also running latest ruff - some rules are updated
|
|
314
|
+
|
|
315
|
+
* refactor: move helper classes into their own file
|
|
316
|
+
|
|
317
|
+
* refactor: simplify itxn loader
|
|
318
|
+
|
|
319
|
+
* refactor: isolate get_test_context to reduce circular imports
|
|
320
|
+
|
|
321
|
+
* chore: using multiprocessing in refresh test artifacts script
|
|
322
|
+
|
|
323
|
+
* refactor: adding tests for ITxn, ITxnCreate and GITxn, fixing related bugs
|
|
324
|
+
|
|
325
|
+
* refactor: default_creator -> default_sender; setting creator as default_sender
|
|
326
|
+
|
|
327
|
+
* chore: parsing name to op name in ITxn
|
|
328
|
+
|
|
329
|
+
* chore: updating default extension for mypy to use ms-python
|
|
330
|
+
|
|
331
|
+
* test: remove incorrect test and replace with TODO
|
|
332
|
+
|
|
333
|
+
* chore: add TODO about subroutine support
|
|
334
|
+
|
|
335
|
+
* add stricter type checks for primitives
|
|
336
|
+
|
|
337
|
+
* track when contracts are in a "creating" state or not
|
|
338
|
+
|
|
339
|
+
* todos
|
|
340
|
+
|
|
341
|
+
* refactor: moving GITxn class to itxn.py
|
|
342
|
+
|
|
343
|
+
* refactor: generate arc4 signatures from types added more robust system for tracking arc4 types removed unneeded functions on StaticArray
|
|
344
|
+
|
|
345
|
+
* only support native tuples when handling generic aliases in arc4 tuples
|
|
346
|
+
|
|
347
|
+
* refactor: 1/2 adding paged access to clear state program in txn fields
|
|
348
|
+
|
|
349
|
+
* refactor: consolidating txn and itxn related context attributes/methods
|
|
350
|
+
|
|
351
|
+
* minor refactors
|
|
352
|
+
|
|
353
|
+
* support arc4 structs
|
|
354
|
+
|
|
355
|
+
* refactor: simplify logic sig implementation, and remove mapping
|
|
356
|
+
|
|
357
|
+
* refactor: fix itxn op behaviour with program pages, and other array like fields
|
|
358
|
+
|
|
359
|
+
* refactor: simplify account properties
|
|
360
|
+
|
|
361
|
+
* refactor: move crypto ops into their own module
|
|
362
|
+
|
|
363
|
+
* refactor: move pure ops into their own module
|
|
364
|
+
|
|
365
|
+
* refactor: move other misc ops
|
|
366
|
+
|
|
367
|
+
* refactor: consolidating value generators; ledger and txn contexts;
|
|
368
|
+
|
|
369
|
+
* refactor: add active group/txn properties change local/global state storage to store values against the app, not the contract instance add UInt64Backed type to simplify serialization to/from int/bytes
|
|
370
|
+
|
|
371
|
+
* refactor: remove nested private modules, replace usages of get_test_context with lazy_context
|
|
372
|
+
|
|
373
|
+
* refactor: move inner transactions onto transaction group
|
|
374
|
+
|
|
375
|
+
* refactor: remove scoped_lsig_args
|
|
376
|
+
|
|
377
|
+
* refactor: remove maybe_active_app_id
|
|
378
|
+
|
|
379
|
+
* refactor: include bool in test for uint64
|
|
380
|
+
|
|
381
|
+
* refactor: ensure arc4 values always have fully parametrized types
|
|
382
|
+
|
|
383
|
+
* refactor: use _paramatize_type
|
|
384
|
+
|
|
385
|
+
* refactor: addressing TODOs
|
|
386
|
+
|
|
387
|
+
refactor: removing txn from method names inside txn context manager prop
|
|
388
|
+
|
|
389
|
+
chore: restoring initial pre-commit
|
|
390
|
+
|
|
391
|
+
refactor: expanding scoped_execution
|
|
392
|
+
|
|
393
|
+
chore: remove redundant fields
|
|
394
|
+
|
|
395
|
+
chore: addressing minor todos and removing the ones already addressed
|
|
396
|
+
|
|
397
|
+
* refactor: adding unit tests for global/local state with implicit keys
|
|
398
|
+
|
|
399
|
+
* refactor: improving handling of initial value for implicit global/local state keys
|
|
400
|
+
|
|
401
|
+
* test: extra test cases for accessing implicit/explicit keyed local/global state
|
|
402
|
+
|
|
403
|
+
* refactor: wip adding txn_group_for method
|
|
404
|
+
|
|
405
|
+
* chore: fix linting errors
|
|
406
|
+
|
|
407
|
+
* feat: continue with txn_group_for and add a test
|
|
408
|
+
|
|
409
|
+
* chore: remove scoped_txn_fields methods
|
|
410
|
+
|
|
411
|
+
* add some additional TODO's for scoped_execution
|
|
412
|
+
|
|
413
|
+
* remove TODO
|
|
414
|
+
|
|
415
|
+
* expand gaid TODO
|
|
416
|
+
|
|
417
|
+
* tweak op.exit implementation and add TODO
|
|
418
|
+
|
|
419
|
+
* remove arc4 property from AlgopyTestContext
|
|
420
|
+
|
|
421
|
+
* add more TODOs
|
|
422
|
+
|
|
423
|
+
* refactor: addressing TODOs; adding marketplace contract example (devrel bootcamps)
|
|
424
|
+
|
|
425
|
+
* test: fixing failing tests
|
|
426
|
+
|
|
427
|
+
## v0.2.2-beta.5 (2024-07-30)
|
|
428
|
+
|
|
429
|
+
### Documentation
|
|
430
|
+
|
|
431
|
+
* patch urls in README.md (#9) ([`eddf612`](https://github.com/algorandfoundation/algorand-python-testing/commit/eddf612b177a2acddf15d58be3f375e99fb6564b))
|
|
432
|
+
|
|
433
|
+
* chore: patch urls in README.md
|
|
434
|
+
|
|
435
|
+
* ci: relaxing rules around paths-ignore
|
|
436
|
+
|
|
437
|
+
* docs: patching old namespace name in readme
|
|
438
|
+
|
|
439
|
+
## v0.2.2-beta.4 (2024-07-25)
|
|
440
|
+
|
|
441
|
+
## v0.2.2-beta.3 (2024-07-25)
|
|
442
|
+
|
|
443
|
+
## v0.2.2-beta.2 (2024-07-25)
|
|
444
|
+
|
|
445
|
+
## v0.2.2-beta.1 (2024-07-24)
|
|
446
|
+
|
|
447
|
+
## v0.2.1 (2024-07-10)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: algorand-python-testing
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
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
|
|
@@ -12,9 +12,10 @@ Classifier: Development Status :: 4 - Beta
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Classifier: Programming Language :: Python
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
16
|
Classifier: Topic :: Software Development :: Testing
|
|
16
17
|
Requires-Python: >=3.12
|
|
17
|
-
Requires-Dist: algorand-python
|
|
18
|
+
Requires-Dist: algorand-python<3,>=2.0
|
|
18
19
|
Requires-Dist: coincurve>=19.0.1
|
|
19
20
|
Requires-Dist: ecdsa>=0.17.0
|
|
20
21
|
Requires-Dist: pycryptodomex<4,>=3.6.0
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
See which `algorand-python` stubs are implemented by the `algorand-python-testing` library. See the [Concepts](testing-guide/concepts.md#types-of-algopy-stub-implementations) section for more details on the implementation categories. Refer to the [`algorand-python` stubs API](api.md) for the full list of the stubs for which the `algorand-python-testing` library provides implementations referenced in the table below.
|
|
4
4
|
|
|
5
5
|
| Name | Implementation type |
|
|
6
|
-
|
|
6
|
+
|---------------------------------------------|---------------------|
|
|
7
7
|
| algopy.Account | Emulated |
|
|
8
8
|
| algopy.Application | Emulated |
|
|
9
9
|
| algopy.Asset | Emulated |
|
|
10
|
+
| algopy.Array | Native |
|
|
10
11
|
| algopy.BigUInt | Native |
|
|
11
12
|
| algopy.Box | Emulated |
|
|
12
13
|
| algopy.BoxMap | Emulated |
|
|
@@ -18,6 +19,7 @@ See which `algorand-python` stubs are implemented by the `algorand-python-testin
|
|
|
18
19
|
| algopy.Contract | Emulated |
|
|
19
20
|
| algopy.Global | Emulated |
|
|
20
21
|
| algopy.GlobalState | Emulated |
|
|
22
|
+
| algopy.ImmutableArray | Native |
|
|
21
23
|
| algopy.LocalState | Emulated |
|
|
22
24
|
| algopy.LogicSig | Emulated |
|
|
23
25
|
| algopy.OnCompleteAction | Native |
|
|
@@ -33,6 +35,7 @@ See which `algorand-python` stubs are implemented by the `algorand-python-testin
|
|
|
33
35
|
| algopy.ensure_budget | Emulated |
|
|
34
36
|
| algopy.log | Emulated |
|
|
35
37
|
| algopy.logicsig | Emulated |
|
|
38
|
+
| algopy.size_of | Emulated |
|
|
36
39
|
| algopy.subroutine | Native |
|
|
37
40
|
| algopy.uenumerate | Native |
|
|
38
41
|
| algopy.urange | Native |
|
{algorand_python_testing-0.5.0b1 → algorand_python_testing-0.6.0}/docs/testing-guide/concepts.md
RENAMED
|
@@ -56,3 +56,8 @@ As explained in the [introduction](index.md), `algorand-python-testing` _injects
|
|
|
56
56
|
|
|
57
57
|
For a full list of all public `algopy` types and their corresponding implementation category, refer to the [Coverage](coverage.md) section.
|
|
58
58
|
```
|
|
59
|
+
|
|
60
|
+
## Data Validation
|
|
61
|
+
|
|
62
|
+
Algorand Python and the puya compiler have functionality to perform validation of transaction inputs via the `--validate-abi-args`, `--validate-abi-return` CLI arguments, `arc4.abimethod(validate_encoding=...)` decorator and `.validate()` methods.
|
|
63
|
+
The Algorand Python Testing library does *NOT* implement this validation behaviour, as you should test invalid inputs using an integrated test against a real Algorand network.
|