Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/tealer
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Jan 23, 2024
2 parents ab4993a + 9c58809 commit 78de132
Show file tree
Hide file tree
Showing 202 changed files with 15 additions and 6,287 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,19 @@ describe('{{ contract_name.split('_')|join(' ') }} contract', () => {
},
algod,
)
{%- if preset_name == 'starter' %}
await client.deploy({
onSchemaBreak: 'append',
onUpdate: 'append',
})
{%- elif preset_name == 'production' %}
await client.deploy({
allowDelete: true,
allowUpdate: true,
onSchemaBreak: 'replace',
onUpdate: 'update',
})
{% endif %}
return { client }
}

Expand Down
3 changes: 3 additions & 0 deletions tests/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ def get_questions_from_copier_yaml(
"use_python_pip_audit",
"use_dispenser",
"use_pre_commit",
"use_python_black",
"use_python_mypy",
"python_linter",
# this also needs deployment_language set to typescript
# and is already tested via the typescript tests
"use_typescript_jest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ describe('hello world contract', () => {
algod,
)
await client.deploy({
allowDelete: true,
allowUpdate: true,
onSchemaBreak: 'replace',
onUpdate: 'update',
onSchemaBreak: 'append',
onUpdate: 'append',
})
return { client }
}
Expand Down
15 changes: 0 additions & 15 deletions tests_generated/test_python_linter-flake8/.algokit.toml

This file was deleted.

19 changes: 0 additions & 19 deletions tests_generated/test_python_linter-flake8/.copier-answers.yml

This file was deleted.

10 changes: 0 additions & 10 deletions tests_generated/test_python_linter-flake8/.editorconfig

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion tests_generated/test_python_linter-flake8/.env.template

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions tests_generated/test_python_linter-flake8/.flake8

This file was deleted.

1 change: 0 additions & 1 deletion tests_generated/test_python_linter-flake8/.gitattributes

This file was deleted.

180 changes: 0 additions & 180 deletions tests_generated/test_python_linter-flake8/.gitignore

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions tests_generated/test_python_linter-flake8/.vscode/extensions.json

This file was deleted.

38 changes: 0 additions & 38 deletions tests_generated/test_python_linter-flake8/.vscode/launch.json

This file was deleted.

Loading

0 comments on commit 78de132

Please sign in to comment.