Cleanup
This commit is contained in:
@@ -12,10 +12,10 @@ from fractions import Fraction as F
|
||||
from unittest.mock import patch
|
||||
|
||||
from generator import production, model, vocabulary
|
||||
from generator.solo import expressions, types, harmonic, placement, notation, composer, themes
|
||||
from tests.test_solo import song
|
||||
from tests.test_solo_passages import choices
|
||||
from tests.test_solo_development import note
|
||||
from generator.solo import expressions, types, harmonic, placement, notation, composer
|
||||
from tests.solo_fixtures import song
|
||||
from tests.solo_fixtures import choices
|
||||
from tests.solo_fixtures import note
|
||||
|
||||
|
||||
def music(result):
|
||||
@@ -86,7 +86,7 @@ class IndependentRoles(unittest.TestCase):
|
||||
for p in n['pitches']:p['letter']={'c':'e','d':'f','e':'g','f':'a'}[p['letter']]
|
||||
a=production.generate_role(production.SourceAnalysis.read(source),'acoustic_solo',self.root)
|
||||
b=production.generate_role(production.SourceAnalysis.read(changed),'acoustic_solo',self.root)
|
||||
self.assertNotEqual(a['details']['phrases'][0]['draft']['notes'],b['details']['phrases'][0]['draft']['notes'])
|
||||
self.assertNotEqual(a['details']['phrases'][0]['notes'],b['details']['phrases'][0]['notes'])
|
||||
|
||||
def test_source_tuplet_lanes_survive_assembly(self):
|
||||
serial={r:production.generate_role(self.source,r,self.root) for r in production.ROLES}
|
||||
|
||||
Reference in New Issue
Block a user