test: assert the empty-tag snapshot carries no tags

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Tobias KaupatandClaude Sonnet 5.5 committed 2026-10-19 16:11:24 +02:00
1 parent a427b0f164
commit a74b210615
1 file changed
+2
+2
View File
@@ -455,6 +455,8 @@ class TestResticTag:
def test_empty_tag_creates_untagged_backup(self, tag_run):
"""an empty RESTIC_TAG creates an untagged backup"""
assert "Backup Successful" in tag_run.empty.out
[snapshot] = tag_run.snapshots_after_empty
assert not snapshot.get("tags")
def test_empty_tag_still_produces_snapshot(self, tag_run):
"""an empty RESTIC_TAG still produces a snapshot"""