Skip to content

Commit 60d6662

Browse files
ci: auto fixes from pre-commit.ci
For more information, see https://pre-commit.ci
1 parent 2f1ad9b commit 60d6662

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/unit/_internal/container/test_generate.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,4 @@ def test_generate_containerfile_cache_mounts_use_sharing_locked(tmp_path) -> Non
3636
cache_mounts = re.findall(r"--mount=type=cache[^ ]+", dockerfile)
3737
assert len(cache_mounts) > 0, "expected at least one cache mount"
3838
for mount in cache_mounts:
39-
assert "sharing=locked" in mount, (
40-
f"cache mount missing sharing=locked: {mount}"
41-
)
39+
assert "sharing=locked" in mount, f"cache mount missing sharing=locked: {mount}"

0 commit comments

Comments
 (0)