|
1 | | -import contextlib |
2 | | - |
| 1 | +import algopy |
3 | 2 | import algopy_testing |
4 | 3 | import pytest |
5 | 4 | from algopy_testing._context_helpers.context_storage import algopy_testing_context |
|
12 | 11 | @pytest.mark.parametrize( |
13 | 12 | ("method_name", "expected_type"), |
14 | 13 | [ |
15 | | - ("get_implicit_key_arc4_uint", algopy_testing.arc4.UInt64), |
16 | | - ("get_implicit_key_arc4_string", algopy_testing.arc4.String), |
17 | | - ("get_implicit_key_arc4_byte", algopy_testing.arc4.Byte), |
18 | | - ("get_implicit_key_arc4_bool", algopy_testing.arc4.Bool), |
19 | | - ("get_implicit_key_arc4_address", algopy_testing.arc4.Address), |
20 | | - ("get_implicit_key_arc4_uint128", algopy_testing.arc4.UInt128), |
21 | | - ("get_implicit_key_arc4_dynamic_bytes", algopy_testing.arc4.DynamicBytes), |
22 | | - ("get_arc4_uint", algopy_testing.arc4.UInt64), |
23 | | - ("get_arc4_string", algopy_testing.arc4.String), |
24 | | - ("get_arc4_byte", algopy_testing.arc4.Byte), |
25 | | - ("get_arc4_bool", algopy_testing.arc4.Bool), |
26 | | - ("get_arc4_address", algopy_testing.arc4.Address), |
27 | | - ("get_arc4_uint128", algopy_testing.arc4.UInt128), |
28 | | - ("get_arc4_dynamic_bytes", algopy_testing.arc4.DynamicBytes), |
| 14 | + ("get_implicit_key_arc4_uint", algopy.arc4.UInt64), |
| 15 | + ("get_implicit_key_arc4_string", algopy.arc4.String), |
| 16 | + ("get_implicit_key_arc4_byte", algopy.arc4.Byte), |
| 17 | + ("get_implicit_key_arc4_bool", algopy.arc4.Bool), |
| 18 | + ("get_implicit_key_arc4_address", algopy.arc4.Address), |
| 19 | + ("get_implicit_key_arc4_uint128", algopy.arc4.UInt128), |
| 20 | + ("get_implicit_key_arc4_dynamic_bytes", algopy.arc4.DynamicBytes), |
| 21 | + ("get_arc4_uint", algopy.arc4.UInt64), |
| 22 | + ("get_arc4_string", algopy.arc4.String), |
| 23 | + ("get_arc4_byte", algopy.arc4.Byte), |
| 24 | + ("get_arc4_bool", algopy.arc4.Bool), |
| 25 | + ("get_arc4_address", algopy.arc4.Address), |
| 26 | + ("get_arc4_uint128", algopy.arc4.UInt128), |
| 27 | + ("get_arc4_dynamic_bytes", algopy.arc4.DynamicBytes), |
29 | 28 | ], |
30 | 29 | ) |
31 | 30 | def test_get_local_arc4_value( |
|
0 commit comments