+1
-1
@@ -119,7 +119,7 @@ class SoloTests(unittest.TestCase):
|
||||
self.assertEqual(result.phrases[0].plan.motif.id, result.phrases[1].plan.motif.id)
|
||||
self.assertFalse(any(d.treatment.startswith('quote') for p in result.phrases for d in p.decisions))
|
||||
original = result.phrases[0].plan
|
||||
explicit = dataclasses.replace(original, treatment='exact_quote', target=None)
|
||||
explicit = dataclasses.replace(original, treatment='exact_quote', target=None, anchor_options=(), gestures=(), passage_id='', passage_start=None, passage_end=None)
|
||||
first = generator.solo.realization.compose(explicit, source['staves'][0]['measures'], result.choices, tests.solo_fixtures.library(), tests.rhythm_fixtures.library(), result.tempo)
|
||||
quote = next(d for d in first.decisions if d.treatment.startswith('quote'))
|
||||
self.assertEqual(len(quote.notes), len(first.plan.motif.notes))
|
||||
|
||||
Reference in New Issue
Block a user