Remove XML Solo Gen
ci / checks (push) Successful in 49m36s

This commit is contained in:
khodowany
2026-10-06 04:27:29 -05:00
parent bb3bba6bbb
commit e15dc31568
11 changed files with 120 additions and 485 deletions
+5
View File
@@ -357,8 +357,13 @@ class EngravingCacheTests(unittest.TestCase):
args = argparse.Namespace(data_dir=data, output_dir=output, static_assets_dir=pathlib.Path('package/assets'), check=False, engraving_cache=self.cache, jobs=2)
generator.__main__.generate_assets(args)
original = self.files(output)
(output / 'solo_xml').mkdir()
(output / 'solo_xml/stale.xml').write_text('obsolete solo export')
(output / 'solo_xml/manifest.solo').write_text('{}')
generator.__main__.generate_assets(args)
self.assertEqual(original, self.files(output))
self.assertFalse((output / 'solo_xml').exists())
self.assertFalse(list(output.rglob('*.xml')))
source.write_text(tests.test_musicxml.xml_score(tests.test_musicxml.xml_note(extra='<accidental smufl="unavailableGlyph">other</accidental>')))
with self.assertRaisesRegex(generator.engraving.types.EngravingError, 'unavailableGlyph'):
generator.__main__.generate_assets(args)