diff --git a/examples/generators/production_python_smart_contract_python/pyproject.toml b/examples/generators/production_python_smart_contract_python/pyproject.toml index 2262d29..7940632 100644 --- a/examples/generators/production_python_smart_contract_python/pyproject.toml +++ b/examples/generators/production_python_smart_contract_python/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^1.0.0" -algorand-python-testing = "^0.2.1" +algorand-python-testing = "^0.3.0b1" [tool.poetry.group.dev.dependencies] algokit-client-generator = "^1.1.3" diff --git a/examples/generators/production_python_smart_contract_python/tests/hello_world_test.py b/examples/generators/production_python_smart_contract_python/tests/hello_world_test.py index 8e2afc1..29951b0 100644 --- a/examples/generators/production_python_smart_contract_python/tests/hello_world_test.py +++ b/examples/generators/production_python_smart_contract_python/tests/hello_world_test.py @@ -15,7 +15,7 @@ def context() -> Generator[AlgopyTestContext, None, None]: def test_hello(context: AlgopyTestContext) -> None: # Arrange - dummy_input = context.any_string() + dummy_input = context.any.string(length=10) contract = HelloWorld() # Act diff --git a/examples/generators/production_python_smart_contract_typescript/pyproject.toml b/examples/generators/production_python_smart_contract_typescript/pyproject.toml index b150bb7..1b8367b 100644 --- a/examples/generators/production_python_smart_contract_typescript/pyproject.toml +++ b/examples/generators/production_python_smart_contract_typescript/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^1.0.0" -algorand-python-testing = "^0.2.1" +algorand-python-testing = "^0.3.0b1" [tool.poetry.group.dev.dependencies] black = {extras = ["d"], version = "*"} diff --git a/examples/generators/starter_python_smart_contract_python/pyproject.toml b/examples/generators/starter_python_smart_contract_python/pyproject.toml index 7680e02..291824f 100644 --- a/examples/generators/starter_python_smart_contract_python/pyproject.toml +++ b/examples/generators/starter_python_smart_contract_python/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^1.0.0" -algorand-python-testing = "^0.2.1" +algorand-python-testing = "^0.3.0b1" [tool.poetry.group.dev.dependencies] algokit-client-generator = "^1.1.3" diff --git a/examples/generators/starter_python_smart_contract_typescript/pyproject.toml b/examples/generators/starter_python_smart_contract_typescript/pyproject.toml index 3ed8c66..a702baa 100644 --- a/examples/generators/starter_python_smart_contract_typescript/pyproject.toml +++ b/examples/generators/starter_python_smart_contract_typescript/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^1.0.0" -algorand-python-testing = "^0.2.1" +algorand-python-testing = "^0.3.0b1" [tool.poetry.group.dev.dependencies] puyapy = "*" diff --git a/examples/production_python/pyproject.toml b/examples/production_python/pyproject.toml index b815724..e80719d 100644 --- a/examples/production_python/pyproject.toml +++ b/examples/production_python/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^1.0.0" -algorand-python-testing = "^0.2.1" +algorand-python-testing = "^0.3.0b1" [tool.poetry.group.dev.dependencies] algokit-client-generator = "^1.1.3" diff --git a/examples/production_python/tests/hello_world_test.py b/examples/production_python/tests/hello_world_test.py index 8e2afc1..29951b0 100644 --- a/examples/production_python/tests/hello_world_test.py +++ b/examples/production_python/tests/hello_world_test.py @@ -15,7 +15,7 @@ def context() -> Generator[AlgopyTestContext, None, None]: def test_hello(context: AlgopyTestContext) -> None: # Arrange - dummy_input = context.any_string() + dummy_input = context.any.string(length=10) contract = HelloWorld() # Act diff --git a/examples/starter_python/pyproject.toml b/examples/starter_python/pyproject.toml index e03f88a..cf8d8a8 100644 --- a/examples/starter_python/pyproject.toml +++ b/examples/starter_python/pyproject.toml @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^1.0.0" -algorand-python-testing = "^0.2.1" +algorand-python-testing = "^0.3.0b1" [tool.poetry.group.dev.dependencies] algokit-client-generator = "^1.1.3" diff --git a/template_content/pyproject.toml.jinja b/template_content/pyproject.toml.jinja index 9d13e18..215682f 100644 --- a/template_content/pyproject.toml.jinja +++ b/template_content/pyproject.toml.jinja @@ -10,7 +10,7 @@ python = "^3.12" algokit-utils = "^2.3.0" python-dotenv = "^1.0.0" algorand-python = "^1.0.0" -algorand-python-testing = "^0.2.1" +algorand-python-testing = "^0.3.0b1" [tool.poetry.group.dev.dependencies] {% if deployment_language == 'python' -%} diff --git a/template_content/{% if use_python_pytest %}tests{% endif %}/{% if use_python_pytest %}{{ contract_name }}_test.py{% endif %}.jinja b/template_content/{% if use_python_pytest %}tests{% endif %}/{% if use_python_pytest %}{{ contract_name }}_test.py{% endif %}.jinja index c02858b..b515bc1 100644 --- a/template_content/{% if use_python_pytest %}tests{% endif %}/{% if use_python_pytest %}{{ contract_name }}_test.py{% endif %}.jinja +++ b/template_content/{% if use_python_pytest %}tests{% endif %}/{% if use_python_pytest %}{{ contract_name }}_test.py{% endif %}.jinja @@ -15,7 +15,7 @@ def context() -> Generator[AlgopyTestContext, None, None]: def test_hello(context: AlgopyTestContext) -> None: # Arrange - dummy_input = context.any_string() + dummy_input = context.any.string(length=10) contract = {{ contract_name.split('_')|map('capitalize')|join }}() # Act