fix(ci): expect inches units on migrated legacy nests

Server schema v12 (2d8d877) adds a units column, so migrated legacy
records now report units: "inches" and the Server image smoke's
legacy-vs-migrated manifest comparison failed (cmp differs at line 27)
on every master push since.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ajandClaude Opus 5.5 committed 2026-10-26 16:02:47 -04:00
1 parent 857a560dce
commit 1592d4bfd9
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ def create(directory):
'madeBy', 'fileSize', 'savedAt'), fields))
# Columns added by later migrations read back as their defaults.
metadata.update(status='toBeCut', revision=1, deleted=False, restoredFromRevision=None,
materialGrade='')
materialGrade='', units='inches')
archive = {'sha256': hashlib.sha256(data).hexdigest(), 'bytes': len(data)}
expected.append({'current': metadata, 'archive': archive,
'revisions': [{'metadata': metadata, 'archive': archive}]})