feat: organize places and device workspaces with scoped heritage records

This commit is contained in:
Codex
2026-10-04 16:21:40 +08:00
parent 5544780bf0
commit 4ac0a0b516
18 changed files with 444 additions and 51 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ class WebTests(unittest.TestCase):
self.assertEqual(headers['Cache-Control'], 'no-store')
self.assertNotIn(b'__ASSET_VERSION__', body)
assets = re.findall(r'(?:src|href)="(/[^"?]+\.(?:js|css)\?v=[^"]+)"', body.decode())
self.assertEqual(len(assets), 22)
self.assertEqual(len(assets), 24)
version = (app.ROOT / 'VERSION').read_text().strip()
for asset in assets:
self.assertTrue(asset.endswith('?v=' + version))