Release Vulpes OS 2.7-preview.22

This commit is contained in:
OverSu 2026-10-22 20:42:26 +02:00
commit a138f97877
294 changed files with 515786 additions and 187 deletions

View file

@ -0,0 +1,26 @@
import importlib.util
from pathlib import Path
import unittest
ROOT = Path(__file__).resolve().parents[2]
spec = importlib.util.spec_from_file_location(
'package_beatles', ROOT / 'tundra/tools/package-beatles-build.py')
package = importlib.util.module_from_spec(spec)
spec.loader.exec_module(package)
class BeatlesT9Package(unittest.TestCase):
def test_all_offline_lexicons_are_included_at_runtime_path(self):
files = {}
package.add_beatles_t9(files)
self.assertEqual(len(files), 42)
self.assertEqual(
set(files),
{f'opt/vulpes/tundra/devices/beatles/t9/{locale}.tsv'
for locale in (path.stem for path in
(ROOT / 'tundra/devices/beatles/t9').glob('*.tsv'))})
self.assertTrue(all(path.is_file() for path in files.values()))
if __name__ == '__main__':
unittest.main()