feat: introduce Chinese courtyard visual theme v0.1.22

This commit is contained in:
Codex
2026-10-04 08:59:15 +08:00
parent 68be32e269
commit a3f4544ddf
8 changed files with 331 additions and 21 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), 18)
self.assertEqual(len(assets), 19)
version = (app.ROOT / 'VERSION').read_text().strip()
for asset in assets:
self.assertTrue(asset.endswith('?v=' + version))