diff --git a/project_templates/fastapi_safir_app/example-uws/pyproject.toml b/project_templates/fastapi_safir_app/example-uws/pyproject.toml index 52b5f14d..55f7223b 100644 --- a/project_templates/fastapi_safir_app/example-uws/pyproject.toml +++ b/project_templates/fastapi_safir_app/example-uws/pyproject.toml @@ -77,6 +77,7 @@ warn_required_dynamic_aliases = true warn_untyped_fields = true [tool.pytest.ini_options] +asyncio_default_fixture_loop_scope = "function" asyncio_mode = "strict" # The python_files setting is not for test detection (pytest will pick up any # test files named *_test.py without this setting) but to enable special diff --git a/project_templates/fastapi_safir_app/example/pyproject.toml b/project_templates/fastapi_safir_app/example/pyproject.toml index 822963bc..02ea01d8 100644 --- a/project_templates/fastapi_safir_app/example/pyproject.toml +++ b/project_templates/fastapi_safir_app/example/pyproject.toml @@ -77,6 +77,7 @@ warn_required_dynamic_aliases = true warn_untyped_fields = true [tool.pytest.ini_options] +asyncio_default_fixture_loop_scope = "function" asyncio_mode = "strict" # The python_files setting is not for test detection (pytest will pick up any # test files named *_test.py without this setting) but to enable special diff --git a/project_templates/fastapi_safir_app/{{cookiecutter.name}}/pyproject.toml b/project_templates/fastapi_safir_app/{{cookiecutter.name}}/pyproject.toml index 75198382..fdd69368 100644 --- a/project_templates/fastapi_safir_app/{{cookiecutter.name}}/pyproject.toml +++ b/project_templates/fastapi_safir_app/{{cookiecutter.name}}/pyproject.toml @@ -77,6 +77,7 @@ warn_required_dynamic_aliases = true warn_untyped_fields = true [tool.pytest.ini_options] +asyncio_default_fixture_loop_scope = "function" asyncio_mode = "strict" # The python_files setting is not for test detection (pytest will pick up any # test files named *_test.py without this setting) but to enable special diff --git a/project_templates/square_pypi_package/example/pyproject.toml b/project_templates/square_pypi_package/example/pyproject.toml index ee5c8c34..c70ae44a 100644 --- a/project_templates/square_pypi_package/example/pyproject.toml +++ b/project_templates/square_pypi_package/example/pyproject.toml @@ -111,6 +111,7 @@ warn_unused_ignores = true # plugins = [] [tool.pytest.ini_options] +asyncio_default_fixture_loop_scope = "function" asyncio_mode = "strict" # The python_files setting is not for test detection (pytest will pick up any # test files named *_test.py without this setting) but to enable special diff --git a/project_templates/square_pypi_package/{{cookiecutter.name}}/pyproject.toml b/project_templates/square_pypi_package/{{cookiecutter.name}}/pyproject.toml index f803d28b..54106d25 100644 --- a/project_templates/square_pypi_package/{{cookiecutter.name}}/pyproject.toml +++ b/project_templates/square_pypi_package/{{cookiecutter.name}}/pyproject.toml @@ -111,6 +111,7 @@ warn_unused_ignores = true # plugins = [] [tool.pytest.ini_options] +asyncio_default_fixture_loop_scope = "function" asyncio_mode = "strict" # The python_files setting is not for test detection (pytest will pick up any # test files named *_test.py without this setting) but to enable special diff --git a/project_templates/technote_md/testn-000/technote.toml b/project_templates/technote_md/testn-000/technote.toml index da50fcd8..779e6e38 100644 --- a/project_templates/technote_md/testn-000/technote.toml +++ b/project_templates/technote_md/testn-000/technote.toml @@ -4,7 +4,7 @@ series_id = "TESTN" canonical_url = "https://testn-000.lsst.io" github_url = "https://github.com/lsst/testn-000" github_default_branch = "main" -date_created = 2024-09-13T20:18:11Z +date_created = 2024-09-18T21:41:54Z organization.name = "Vera C. Rubin Observatory" organization.ror = "https://ror.org/048g3cy84" license.id = "CC-BY-4.0" diff --git a/project_templates/technote_rst/testn-000/technote.toml b/project_templates/technote_rst/testn-000/technote.toml index e0c93ba2..cf44fa72 100644 --- a/project_templates/technote_rst/testn-000/technote.toml +++ b/project_templates/technote_rst/testn-000/technote.toml @@ -4,7 +4,7 @@ series_id = "TESTN" canonical_url = "https://testn-000.lsst.io" github_url = "https://github.com/lsst/testn-000" github_default_branch = "main" -date_created = 2024-09-13T20:18:11Z +date_created = 2024-09-18T21:41:54Z organization.name = "Vera C. Rubin Observatory" organization.ror = "https://ror.org/048g3cy84" license.id = "CC-BY-4.0"