From a73157dff9482ad3f65088dba98ecab189568cfe Mon Sep 17 00:00:00 2001 From: Stephen Kent Date: Sun, 5 Apr 2026 17:53:46 -0700 Subject: [PATCH] Rename misnamed `pyproject.toml` snapshot test --- tests/__snapshots__/test_pyproject.ambr | 16 ++++++++-------- tests/test_pyproject.py | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/__snapshots__/test_pyproject.ambr b/tests/__snapshots__/test_pyproject.ambr index ccad21e..d3c48a2 100644 --- a/tests/__snapshots__/test_pyproject.ambr +++ b/tests/__snapshots__/test_pyproject.ambr @@ -1,5 +1,5 @@ # serializer version: 1 -# name: test_maintaining_features[docs-3.10-private] +# name: test_pyproject_features[docs-3.10-private] ''' [build-system] requires = ["hatchling", "uv-dynamic-versioning"] @@ -207,7 +207,7 @@ ''' # --- -# name: test_maintaining_features[docs-3.10-public] +# name: test_pyproject_features[docs-3.10-public] ''' [build-system] requires = ["hatchling", "uv-dynamic-versioning"] @@ -427,7 +427,7 @@ ''' # --- -# name: test_maintaining_features[docs-3.14-private] +# name: test_pyproject_features[docs-3.14-private] ''' [build-system] requires = ["hatchling", "uv-dynamic-versioning"] @@ -611,7 +611,7 @@ ''' # --- -# name: test_maintaining_features[docs-3.14-public] +# name: test_pyproject_features[docs-3.14-public] ''' [build-system] requires = ["hatchling", "uv-dynamic-versioning"] @@ -807,7 +807,7 @@ ''' # --- -# name: test_maintaining_features[no_docs-3.10-private] +# name: test_pyproject_features[no_docs-3.10-private] ''' [build-system] requires = ["hatchling", "uv-dynamic-versioning"] @@ -990,7 +990,7 @@ ''' # --- -# name: test_maintaining_features[no_docs-3.10-public] +# name: test_pyproject_features[no_docs-3.10-public] ''' [build-system] requires = ["hatchling", "uv-dynamic-versioning"] @@ -1185,7 +1185,7 @@ ''' # --- -# name: test_maintaining_features[no_docs-3.14-private] +# name: test_pyproject_features[no_docs-3.14-private] ''' [build-system] requires = ["hatchling", "uv-dynamic-versioning"] @@ -1344,7 +1344,7 @@ ''' # --- -# name: test_maintaining_features[no_docs-3.14-public] +# name: test_pyproject_features[no_docs-3.14-public] ''' [build-system] requires = ["hatchling", "uv-dynamic-versioning"] diff --git a/tests/test_pyproject.py b/tests/test_pyproject.py index 8c54c60..6674986 100644 --- a/tests/test_pyproject.py +++ b/tests/test_pyproject.py @@ -13,7 +13,7 @@ "enable_docs", [pytest.param(True, id="docs"), pytest.param(False, id="no_docs")], ) -def test_maintaining_features( +def test_pyproject_features( render_template: Callable[..., Path], snapshot: SnapshotAssertion, *,