@@ -137,7 +137,8 @@ class EngravingCacheTests(unittest.TestCase):
|
||||
def test_parallel_generation_preserves_assets_on_worker_failure(self):
|
||||
data, output = self.root / 'data', self.root / 'output'
|
||||
(data / 'songs').mkdir(parents=True)
|
||||
source = data / '001.xml'
|
||||
(data / 'practice').mkdir()
|
||||
source = data / 'practice/001.xml'
|
||||
source.write_text(xml_score(xml_note()))
|
||||
args = argparse.Namespace(data_dir=data, output_dir=output, static_assets_dir=Path('package/assets'), check=False, engraving_cache=self.cache, jobs=2)
|
||||
generate_assets(args)
|
||||
|
||||
Reference in New Issue
Block a user